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_optimization_cflags
675 aros_target_strip_flags
683 aros_kernel_objcflags
709 aros_target_cc_includes
725 aros_target_bootloader
755 host_stat_h__unused_used
756 aros_amigaos_compliance
764 aros_target_toolchain
773 kernel_cflags_iquote_end
775 host_cflags_iquote_end
778 aros_target_nostdlib_ldflags
779 aros_target_detach_ldflags
780 aros_target_nix_ldflags
781 aros_target_nostartup_ldflags
782 aros_target_nostdinc_cflags
821 arosconfig_use_libpngconfig
907 program_transform_name
920 enable_option_checking
931 with_kernel_gcc_version
934 enable_target_variant
941 enable_amigaos_compliance
942 with_kernel_toolchain_prefix
943 with_elf_toolchain_prefix
946 with_aros_toolchain_install
947 with_binutils_version
961 enable_palm_debug_hack
963 enable_nesting_supervisor
975 ac_precious_vars
='build_alias
991 # Initialize some variables set by options.
993 ac_init_version
=false
994 ac_unrecognized_opts
=
996 # The variables have the same names as the options, with
997 # dashes changed to underlines.
1005 program_transform_name
=s
,x
,x
,
1013 # Installation directory options.
1014 # These are left unexpanded so users can "make install exec_prefix=/foo"
1015 # and all the variables that are supposed to be based on exec_prefix
1016 # by default will actually change.
1017 # Use braces instead of parens because sh, perl, etc. also accept them.
1018 # (The list follows the same order as the GNU Coding Standards.)
1019 bindir
='${exec_prefix}/bin'
1020 sbindir
='${exec_prefix}/sbin'
1021 libexecdir
='${exec_prefix}/libexec'
1022 datarootdir
='${prefix}/share'
1023 datadir
='${datarootdir}'
1024 sysconfdir
='${prefix}/etc'
1025 sharedstatedir
='${prefix}/com'
1026 localstatedir
='${prefix}/var'
1027 runstatedir
='${localstatedir}/run'
1028 includedir
='${prefix}/include'
1029 oldincludedir
='/usr/include'
1030 docdir
='${datarootdir}/doc/${PACKAGE}'
1031 infodir
='${datarootdir}/info'
1036 libdir
='${exec_prefix}/lib'
1037 localedir
='${datarootdir}/locale'
1038 mandir
='${datarootdir}/man'
1044 # If the previous option needs an argument, assign it.
1045 if test -n "$ac_prev"; then
1046 eval $ac_prev=\
$ac_option
1052 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1057 # Accept the important Cygnus configure options, so we can diagnose typos.
1059 case $ac_dashdash$ac_option in
1063 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1065 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1066 bindir
=$ac_optarg ;;
1068 -build |
--build |
--buil |
--bui |
--bu)
1069 ac_prev
=build_alias
;;
1070 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1071 build_alias
=$ac_optarg ;;
1073 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1074 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1075 ac_prev
=cache_file
;;
1076 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1077 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1078 cache_file
=$ac_optarg ;;
1080 --config-cache |
-C)
1081 cache_file
=config.cache
;;
1083 -datadir |
--datadir |
--datadi |
--datad)
1085 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1086 datadir
=$ac_optarg ;;
1088 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1089 |
--dataroo |
--dataro |
--datar)
1090 ac_prev
=datarootdir
;;
1091 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1092 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1093 datarootdir
=$ac_optarg ;;
1095 -disable-* |
--disable-*)
1096 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error $?
"invalid feature name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1104 "enable_
$ac_useropt"
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval enable_
$ac_useropt=no
;;
1111 -docdir |
--docdir |
--docdi |
--doc |
--do)
1113 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1114 docdir
=$ac_optarg ;;
1116 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1118 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1119 dvidir
=$ac_optarg ;;
1121 -enable-* |
--enable-*)
1122 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error $?
"invalid feature name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1130 "enable_
$ac_useropt"
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval enable_
$ac_useropt=\
$ac_optarg ;;
1137 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1138 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1139 |
--exec |
--exe |
--ex)
1140 ac_prev
=exec_prefix
;;
1141 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1142 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1143 |
--exec=* |
--exe=* |
--ex=*)
1144 exec_prefix
=$ac_optarg ;;
1146 -gas |
--gas |
--ga |
--g)
1147 # Obsolete; use --with-gas.
1150 -help |
--help |
--hel |
--he |
-h)
1151 ac_init_help
=long
;;
1152 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1153 ac_init_help
=recursive
;;
1154 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1155 ac_init_help
=short
;;
1157 -host |
--host |
--hos |
--ho)
1158 ac_prev
=host_alias
;;
1159 -host=* |
--host=* |
--hos=* |
--ho=*)
1160 host_alias
=$ac_optarg ;;
1162 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1164 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1166 htmldir
=$ac_optarg ;;
1168 -includedir |
--includedir |
--includedi |
--included |
--include \
1169 |
--includ |
--inclu |
--incl |
--inc)
1170 ac_prev
=includedir
;;
1171 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1172 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1173 includedir
=$ac_optarg ;;
1175 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1177 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1178 infodir
=$ac_optarg ;;
1180 -libdir |
--libdir |
--libdi |
--libd)
1182 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1183 libdir
=$ac_optarg ;;
1185 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1186 |
--libexe |
--libex |
--libe)
1187 ac_prev
=libexecdir
;;
1188 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1189 |
--libexe=* |
--libex=* |
--libe=*)
1190 libexecdir
=$ac_optarg ;;
1192 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1193 ac_prev
=localedir
;;
1194 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1195 localedir
=$ac_optarg ;;
1197 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1198 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1199 ac_prev
=localstatedir
;;
1200 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1201 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1202 localstatedir
=$ac_optarg ;;
1204 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1206 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1207 mandir
=$ac_optarg ;;
1209 -nfp |
--nfp |
--nf)
1210 # Obsolete; use --without-fp.
1213 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1214 |
--no-cr |
--no-c |
-n)
1217 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1218 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1221 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1222 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1223 |
--oldin |
--oldi |
--old |
--ol |
--o)
1224 ac_prev
=oldincludedir
;;
1225 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1226 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1227 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1228 oldincludedir
=$ac_optarg ;;
1230 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1232 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1233 prefix
=$ac_optarg ;;
1235 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1236 |
--program-pre |
--program-pr |
--program-p)
1237 ac_prev
=program_prefix
;;
1238 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1239 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1240 program_prefix
=$ac_optarg ;;
1242 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1243 |
--program-suf |
--program-su |
--program-s)
1244 ac_prev
=program_suffix
;;
1245 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1246 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1247 program_suffix
=$ac_optarg ;;
1249 -program-transform-name |
--program-transform-name \
1250 |
--program-transform-nam |
--program-transform-na \
1251 |
--program-transform-n |
--program-transform- \
1252 |
--program-transform |
--program-transfor \
1253 |
--program-transfo |
--program-transf \
1254 |
--program-trans |
--program-tran \
1255 |
--progr-tra |
--program-tr |
--program-t)
1256 ac_prev
=program_transform_name
;;
1257 -program-transform-name=* |
--program-transform-name=* \
1258 |
--program-transform-nam=* |
--program-transform-na=* \
1259 |
--program-transform-n=* |
--program-transform-=* \
1260 |
--program-transform=* |
--program-transfor=* \
1261 |
--program-transfo=* |
--program-transf=* \
1262 |
--program-trans=* |
--program-tran=* \
1263 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1264 program_transform_name
=$ac_optarg ;;
1266 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1268 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1269 pdfdir
=$ac_optarg ;;
1271 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1273 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1276 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1277 |
-silent |
--silent |
--silen |
--sile |
--sil)
1280 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1281 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1282 |
--run |
--ru |
--r)
1283 ac_prev
=runstatedir
;;
1284 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1285 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1286 |
--run=* |
--ru=* |
--r=*)
1287 runstatedir
=$ac_optarg ;;
1289 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1291 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1293 sbindir
=$ac_optarg ;;
1295 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1296 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1297 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1299 ac_prev
=sharedstatedir
;;
1300 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1301 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1302 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1304 sharedstatedir
=$ac_optarg ;;
1306 -site |
--site |
--sit)
1308 -site=* |
--site=* |
--sit=*)
1311 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1313 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1314 srcdir
=$ac_optarg ;;
1316 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1317 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1318 ac_prev
=sysconfdir
;;
1319 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1320 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1321 sysconfdir
=$ac_optarg ;;
1323 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1324 ac_prev
=target_alias
;;
1325 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1326 target_alias
=$ac_optarg ;;
1328 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1331 -version |
--version |
--versio |
--versi |
--vers |
-V)
1332 ac_init_version
=: ;;
1335 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1336 # Reject names that are not valid shell variable names.
1337 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1338 as_fn_error $?
"invalid package name: $ac_useropt"
1339 ac_useropt_orig
=$ac_useropt
1340 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1341 case $ac_user_opts in
1345 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1346 ac_unrecognized_sep
=', ';;
1348 eval with_
$ac_useropt=\
$ac_optarg ;;
1350 -without-* |
--without-*)
1351 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1352 # Reject names that are not valid shell variable names.
1353 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1354 as_fn_error $?
"invalid package name: $ac_useropt"
1355 ac_useropt_orig
=$ac_useropt
1356 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1357 case $ac_user_opts in
1361 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1362 ac_unrecognized_sep
=', ';;
1364 eval with_
$ac_useropt=no
;;
1367 # Obsolete; use --with-x.
1370 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1371 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1372 ac_prev
=x_includes
;;
1373 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1374 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1375 x_includes
=$ac_optarg ;;
1377 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1378 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1379 ac_prev
=x_libraries
;;
1380 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1381 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1382 x_libraries
=$ac_optarg ;;
1384 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1385 Try \`$0 --help' for more information"
1389 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1390 # Reject names that are not valid shell variable names.
1391 case $ac_envvar in #(
1392 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1393 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1395 eval $ac_envvar=\
$ac_optarg
1396 export $ac_envvar ;;
1399 # FIXME: should be removed in autoconf 3.0.
1400 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1401 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1402 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1403 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1409 if test -n "$ac_prev"; then
1410 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1411 as_fn_error $?
"missing argument to $ac_option"
1414 if test -n "$ac_unrecognized_opts"; then
1415 case $enable_option_checking in
1417 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1418 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1422 # Check all directory arguments for consistency.
1423 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1424 datadir sysconfdir sharedstatedir localstatedir includedir \
1425 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1426 libdir localedir mandir runstatedir
1428 eval ac_val
=\$
$ac_var
1429 # Remove trailing slashes.
1432 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1433 eval $ac_var=\
$ac_val;;
1435 # Be sure to have absolute directory names.
1437 [\\/$
]* | ?
:[\\/]* ) continue;;
1438 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1440 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1443 # There might be people who depend on the old broken behavior: `$host'
1444 # used to hold the argument of --host etc.
1445 # FIXME: To remove some day.
1448 target
=$target_alias
1450 # FIXME: To remove some day.
1451 if test "x$host_alias" != x
; then
1452 if test "x$build_alias" = x
; then
1453 cross_compiling
=maybe
1454 elif test "x$build_alias" != "x$host_alias"; then
1460 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1462 test "$silent" = yes && exec 6>/dev
/null
1465 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1466 ac_ls_di
=`ls -di .` &&
1467 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1468 as_fn_error $?
"working directory cannot be determined"
1469 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1470 as_fn_error $?
"pwd does not report name of working directory"
1473 # Find the source files, if location was not specified.
1474 if test -z "$srcdir"; then
1475 ac_srcdir_defaulted
=yes
1476 # Try the directory containing this script, then the parent directory.
1477 ac_confdir
=`$as_dirname -- "$as_myself" ||
1478 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1479 X"$as_myself" : 'X\(//\)[^/]' \| \
1480 X"$as_myself" : 'X\(//\)$' \| \
1481 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1482 $as_echo X"$as_myself" |
1483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1501 if test ! -r "$srcdir/$ac_unique_file"; then
1505 ac_srcdir_defaulted
=no
1507 if test ! -r "$srcdir/$ac_unique_file"; then
1508 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1509 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1511 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1513 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1515 # When building in place, set srcdir=.
1516 if test "$ac_abs_confdir" = "$ac_pwd"; then
1519 # Remove unnecessary trailing slashes from srcdir.
1520 # Double slashes in file names in object file debugging info
1521 # mess up M-x gdb in Emacs.
1523 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1525 for ac_var
in $ac_precious_vars; do
1526 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1527 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1528 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1529 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1533 # Report the --help message.
1535 if test "$ac_init_help" = "long"; then
1536 # Omit some internal or obsolete options to make the list less imposing.
1537 # This message is too long to be a string in the A/UX 3.1 sh.
1539 \`configure' configures this package to adapt to many kinds of systems.
1541 Usage: $0 [OPTION]... [VAR=VALUE]...
1543 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1544 VAR=VALUE. See below for descriptions of some of the useful variables.
1546 Defaults for the options are specified in brackets.
1549 -h, --help display this help and exit
1550 --help=short display options specific to this package
1551 --help=recursive display the short help of all the included packages
1552 -V, --version display version information and exit
1553 -q, --quiet, --silent do not print \`checking ...' messages
1554 --cache-file=FILE cache test results in FILE [disabled]
1555 -C, --config-cache alias for \`--cache-file=config.cache'
1556 -n, --no-create do not create output files
1557 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1559 Installation directories:
1560 --prefix=PREFIX install architecture-independent files in PREFIX
1561 [$ac_default_prefix]
1562 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1565 By default, \`make install' will install all the files in
1566 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1567 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1568 for instance \`--prefix=\$HOME'.
1570 For better control, use the options below.
1572 Fine tuning of the installation directories:
1573 --bindir=DIR user executables [EPREFIX/bin]
1574 --sbindir=DIR system admin executables [EPREFIX/sbin]
1575 --libexecdir=DIR program executables [EPREFIX/libexec]
1576 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1577 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1578 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1579 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1580 --libdir=DIR object code libraries [EPREFIX/lib]
1581 --includedir=DIR C header files [PREFIX/include]
1582 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1583 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1584 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1585 --infodir=DIR info documentation [DATAROOTDIR/info]
1586 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1587 --mandir=DIR man documentation [DATAROOTDIR/man]
1588 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1589 --htmldir=DIR html documentation [DOCDIR]
1590 --dvidir=DIR dvi documentation [DOCDIR]
1591 --pdfdir=DIR pdf documentation [DOCDIR]
1592 --psdir=DIR ps documentation [DOCDIR]
1598 --x-includes=DIR X include files are
in DIR
1599 --x-libraries=DIR X library files are
in DIR
1602 --build=BUILD configure
for building on BUILD
[guessed
]
1603 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1607 if test -n "$ac_init_help"; then
1612 --disable-option-checking ignore unrecognized
--enable/--with options
1613 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1614 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1615 --disable-libpng-config disable libpng-config
test and configuration
1616 --enable-lto=yes|no Enable link
time optimizations
if the target
1617 compiler supports them
(default
=no
)
1618 --enable-coverage=yes|no
1619 Enable coverage instrumentation
if the target
1620 compiler supports it
(default
=no
)
1621 --enable-build-type=TYPE
1622 Select the build
type. Available types are
:
1623 personal
, nightly
, snapshot
, milestone
, release. Do
1624 NOT use this option unless you know what you are
1625 doing
! (default
=personal
)
1626 --enable-debug=list Enable different types of debug. Commas or
1627 whitespaces can be used to separate the items
in the
1628 list. Available types of debug are
: all
, none
,
1629 messages
, stack
, mungwall
, modules
, symbols. If no
1630 list is provided
then "all" is assumed.
1632 --enable-distcc Use distcc as a front end to the compiler
1634 --enable-ccache Use ccache as a front end to the compiler
1636 --enable-target-variant=NAME
1637 Enable a specific target variant
(default
=none
)
1638 --enable-amigaos-compliance=VERSION
1639 Enforce userspace AmigaOS compliance to a specific
1640 KickStart version
(default
=none
).
1641 --disable-crosstools Do not build cross-compiler toolchain
1642 --enable-objc Enable Objectve-C support
(default
=no
)
1643 --enable-java Enable Java support
(default
=no
)
1644 --enable-includes=dir Alternative system include directory
1645 --enable-palm-debug-hack
1646 Enable palm debug output hack
in palm native
1648 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1649 --enable-nesting-supervisor
1650 Enable nesting supervisor support
in unix
1652 --disable-mmu Disable MMU support
(default
=enabled
)
1653 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1654 --enable-x11-shm use X11 shared memory
(default
=auto
)
1655 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1656 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1657 --disable-sdltest Do not try to compile and run a
test SDL program
1658 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1661 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1662 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1663 --with-c-compiler=VERSION
1664 Use specified c compiler
for building AROS
1665 --with-cxx-compiler=VERSION
1666 Use specified c
++ compiler building AROS
1667 --with-toolchain=family Which toolchain family to crosscompile with
1669 --with-kernel-gcc-version=VERSION
1670 Use gcc-VERSION
for building bootstrap
1671 --with-optimization=FLAGS
1672 Use optimization flags FLAGS
(e.g
1673 --with-optimization=-O2).
1674 --with-paranoia=(yes|no|FLAGS
)
1675 Specific compiler warning FLAGS to
enable for
1676 paranoia builds
(default
=-Wall -Werror)
1677 --with-xcode=PATH Specify XCode path
for iOS targets
1678 (default
=/Developer
).
1679 --with-sdk-version=VERSION
1680 Use iOS SDK version VERSION
(default
=4.1).
1681 --with-sdk=PATH Specify Android SDK path
1682 (default
=$default_android_sdk).
1683 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1684 --with-sdk-version=LEVEL
1685 Use Android SDK
for API LEVEL
(default
=12).
1686 --with-ndk-version=LEVEL
1687 Use Android NDK
for API LEVEL
(default
=9).
1688 --with-apk-version=(release|debug
)
1689 Which version of AROSBootstrap.apk to compile.
1690 Release version needs key
for signing
, debug version
1691 will only run
in emulator.
(default
=release
)
1692 --with-kernel-toolchain-prefix=...
1693 Specify crosscompile toolchain prefix
for kernel
1695 --with-elf-toolchain-prefix=...
1696 Specify crosscompile toolchain prefix to wrap
for
1698 --with-aros-toolchain=PREFIX
1699 Specify prebuilt AROS toolchain. Use
yes for default
1701 --with-aros-toolchain-install=DIR
1702 Where to
install or search
for cross tools binaries
1703 --with-binutils-version=VERSION
1704 Use binutils-VERSION
for building AROS
1705 --with-gcc-version=VERSION
1706 Compile gcc-VERSION
for AROS
1707 --with-cpu=<spec
> Specify minumum CPU
(default
=$gcc_default_cpu).
1708 --with-fpu=<spec
> Specify minumum FPU
(default
=$gcc_default_fpu).
1709 --with-float=<spec
> Specify floating point ABI
1710 (default
=$gcc_default_float_abi).
1711 --with-portssources=DIR Where to download sourcecode
for external ports
1712 --with-bootloader=NAME Use a specific bootloader
1713 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1714 --with-theme=NAME Use a specific GUI Theme
1715 --with-resolution=XRESxYRESxDEPTH
1716 Default resolution of the initial WorkbenchScreen
1717 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1718 --with-x use the X Window System
1719 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1720 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1722 Some influential environment variables
:
1723 CXX C
++ compiler
command
1724 CXXFLAGS C
++ compiler flags
1725 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1726 nonstandard directory
<lib dir
>
1727 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1728 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1729 you have headers
in a nonstandard directory
<include dir
>
1730 CC C compiler
command
1731 CFLAGS C compiler flags
1733 PYTHON the Python interpreter
1734 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1736 Use these variables to override the choices made by
`configure' or to help
1737 it to find libraries and programs with nonstandard names/locations.
1739 Report bugs to the package provider.
1744 if test "$ac_init_help" = "recursive"; then
1745 # If there are subdirs, report their specific --help.
1746 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1747 test -d "$ac_dir" ||
1748 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1753 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1755 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1756 # A ".." for each directory in $ac_dir_suffix.
1757 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1758 case $ac_top_builddir_sub in
1759 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1760 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1763 ac_abs_top_builddir=$ac_pwd
1764 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1765 # for backward compatibility:
1766 ac_top_builddir=$ac_top_build_prefix
1769 .) # We are building in place.
1771 ac_top_srcdir=$ac_top_builddir_sub
1772 ac_abs_top_srcdir=$ac_pwd ;;
1773 [\\/]* | ?:[\\/]* ) # Absolute name.
1774 ac_srcdir=$srcdir$ac_dir_suffix;
1775 ac_top_srcdir=$srcdir
1776 ac_abs_top_srcdir=$srcdir ;;
1778 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1779 ac_top_srcdir=$ac_top_build_prefix$srcdir
1780 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1782 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1784 cd "$ac_dir" || { ac_status=$?; continue; }
1785 # Check for guested configure.
1786 if test -f "$ac_srcdir/configure.gnu"; then
1788 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1789 elif test -f "$ac_srcdir/configure"; then
1791 $SHELL "$ac_srcdir/configure" --help=recursive
1793 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1795 cd "$ac_pwd" || { ac_status=$?; break; }
1799 test -n "$ac_init_help" && exit $ac_status
1800 if $ac_init_version; then
1803 generated by GNU Autoconf 2.69
1805 Copyright (C) 2012 Free Software Foundation, Inc.
1806 This configure script is free software; the Free Software Foundation
1807 gives unlimited permission to copy, distribute and modify it.
1812 ## ------------------------ ##
1813 ## Autoconf initialization. ##
1814 ## ------------------------ ##
1816 # ac_fn_cxx_try_compile LINENO
1817 # ----------------------------
1818 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1819 ac_fn_cxx_try_compile ()
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 rm -f conftest.$ac_objext
1823 if { { ac_try="$ac_compile"
1825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1826 *) ac_try_echo
=$ac_try;;
1828 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_compile") 2>conftest.err
1832 if test -s conftest.err
; then
1833 grep -v '^ *+' conftest.err
>conftest.er1
1834 cat conftest.er1
>&5
1835 mv -f conftest.er1 conftest.err
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && {
1839 test -z "$ac_cxx_werror_flag" ||
1840 test ! -s conftest.err
1841 } && test -s conftest.
$ac_objext; then :
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.
$ac_ext >&5
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 as_fn_set_status
$ac_retval
1852 } # ac_fn_cxx_try_compile
1854 # ac_fn_c_try_compile LINENO
1855 # --------------------------
1856 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1857 ac_fn_c_try_compile
()
1859 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1860 rm -f conftest.
$ac_objext
1861 if { { ac_try
="$ac_compile"
1863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1864 *) ac_try_echo=$ac_try;;
1866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_compile") 2>conftest.err
1870 if test -s conftest.err; then
1871 grep -v '^ *+' conftest.err >conftest.er1
1872 cat conftest.er1 >&5
1873 mv -f conftest.er1 conftest.err
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; } && {
1877 test -z "$ac_c_werror_flag" ||
1878 test ! -s conftest.err
1879 } && test -s conftest.$ac_objext; then :
1882 $as_echo "$as_me: failed program was:" >&5
1883 sed 's/^/| /' conftest.$ac_ext >&5
1887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888 as_fn_set_status $ac_retval
1890 } # ac_fn_c_try_compile
1892 # ac_fn_c_try_cpp LINENO
1893 # ----------------------
1894 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 if { { ac_try="$ac_cpp conftest.$ac_ext"
1900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1901 *) ac_try_echo
=$ac_try;;
1903 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1907 if test -s conftest.err
; then
1908 grep -v '^ *+' conftest.err
>conftest.er1
1909 cat conftest.er1
>&5
1910 mv -f conftest.er1 conftest.err
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 test $ac_status = 0; } > conftest.i
&& {
1914 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1915 test ! -s conftest.err
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.
$ac_ext >&5
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1925 as_fn_set_status
$ac_retval
1929 # ac_fn_c_try_link LINENO
1930 # -----------------------
1931 # Try to link conftest.$ac_ext, and return whether this succeeded.
1934 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1935 rm -f conftest.
$ac_objext conftest
$ac_exeext
1936 if { { ac_try
="$ac_link"
1938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1939 *) ac_try_echo=$ac_try;;
1941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1942 $as_echo "$ac_try_echo"; } >&5
1943 (eval "$ac_link") 2>conftest.err
1945 if test -s conftest.err; then
1946 grep -v '^ *+' conftest.err >conftest.er1
1947 cat conftest.er1 >&5
1948 mv -f conftest.er1 conftest.err
1950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951 test $ac_status = 0; } && {
1952 test -z "$ac_c_werror_flag" ||
1953 test ! -s conftest.err
1954 } && test -s conftest$ac_exeext && {
1955 test "$cross_compiling" = yes ||
1956 test -x conftest$ac_exeext
1960 $as_echo "$as_me: failed program was:" >&5
1961 sed 's/^/| /' conftest.$ac_ext >&5
1965 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1966 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1967 # interfere with the next link command; also delete a directory that is
1968 # left behind by Apple's compiler. We do this before executing the actions.
1969 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 as_fn_set_status $ac_retval
1973 } # ac_fn_c_try_link
1975 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1976 # -------------------------------------------------------
1977 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1978 # the include files in INCLUDES and setting the cache variable VAR
1980 ac_fn_c_check_header_mongrel ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 if eval \${$3+:} false; then :
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if eval \${$3+:} false; then :
1987 $as_echo_n "(cached) " >&6
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1993 # Is the header compilable?
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1995 $as_echo_n "checking $2 usability... " >&6; }
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
2001 if ac_fn_c_try_compile "$LINENO"; then :
2002 ac_header_compiler=yes
2004 ac_header_compiler=no
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2008 $as_echo "$ac_header_compiler" >&6; }
2010 # Is the header present?
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2012 $as_echo_n "checking $2 presence... " >&6; }
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2017 if ac_fn_c_try_cpp "$LINENO"; then :
2018 ac_header_preproc=yes
2020 ac_header_preproc=no
2022 rm -f conftest.err conftest.i conftest.$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024 $as_echo "$ac_header_preproc" >&6; }
2026 # So? What about this header?
2027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2030 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2036 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2038 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2040 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2042 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if eval \${$3+:} false; then :
2050 $as_echo_n "(cached) " >&6
2052 eval "$3=\$ac_header_compiler"
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2058 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2060 } # ac_fn_c_check_header_mongrel
2062 # ac_fn_c_try_run LINENO
2063 # ----------------------
2064 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2065 # that executables *can* be run.
2068 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2069 if { { ac_try="$ac_link"
2071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2072 *) ac_try_echo
=$ac_try;;
2074 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075 $as_echo "$ac_try_echo"; } >&5
2076 (eval "$ac_link") 2>&5
2078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2079 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2080 { { case "(($ac_try" in
2081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2082 *) ac_try_echo=$ac_try;;
2084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2085 $as_echo "$ac_try_echo"; } >&5
2086 (eval "$ac_try") 2>&5
2088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2089 test $ac_status = 0; }; }; then :
2092 $as_echo "$as_me: program exited with status $ac_status" >&5
2093 $as_echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.$ac_ext >&5
2096 ac_retval=$ac_status
2098 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2100 as_fn_set_status $ac_retval
2104 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2105 # -------------------------------------------------------
2106 # Tests whether HEADER exists and can be compiled using the include files in
2107 # INCLUDES, setting the cache variable VAR accordingly.
2108 ac_fn_c_check_header_compile ()
2110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if eval \${$3+:} false; then :
2114 $as_echo_n "(cached) " >&6
2116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2117 /* end confdefs.h. */
2121 if ac_fn_c_try_compile "$LINENO"; then :
2126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 } # ac_fn_c_check_header_compile
2135 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2136 # ----------------------------------------------------
2137 # Tries to find if the field MEMBER exists in type AGGR, after including
2138 # INCLUDES, setting cache variable VAR accordingly.
2139 ac_fn_c_check_member ()
2141 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2143 $as_echo_n "checking for $2.$3... " >&6; }
2144 if eval \${$4+:} false; then :
2145 $as_echo_n "(cached) " >&6
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2160 if ac_fn_c_try_compile "$LINENO"; then :
2163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h. */
2170 if (sizeof ac_aggr.$3)
2176 if ac_fn_c_try_compile "$LINENO"; then :
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187 $as_echo "$ac_res" >&6; }
2188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2190 } # ac_fn_c_check_member
2192 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2193 # ---------------------------------------------
2194 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2196 ac_fn_c_check_decl ()
2198 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2199 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2200 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2202 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2203 if eval \${$3+:} false; then :
2204 $as_echo_n "(cached) " >&6
2206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2212 #ifndef $as_decl_name
2214 (void) $as_decl_use;
2216 (void) $as_decl_name;
2224 if ac_fn_c_try_compile "$LINENO"; then :
2229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2233 $as_echo "$ac_res" >&6; }
2234 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2236 } # ac_fn_c_check_decl
2238 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2239 # -------------------------------------------
2240 # Tests whether TYPE exists after having included INCLUDES, setting cache
2241 # variable VAR accordingly.
2242 ac_fn_c_check_type ()
2244 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2246 $as_echo_n "checking for $2... " >&6; }
2247 if eval \${$3+:} false; then :
2248 $as_echo_n "(cached) " >&6
2251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2252 /* end confdefs.h. */
2263 if ac_fn_c_try_compile "$LINENO"; then :
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2276 if ac_fn_c_try_compile "$LINENO"; then :
2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2287 $as_echo "$ac_res" >&6; }
2288 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2290 } # ac_fn_c_check_type
2292 # ac_fn_c_check_func LINENO FUNC VAR
2293 # ----------------------------------
2294 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2295 ac_fn_c_check_func ()
2297 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2299 $as_echo_n "checking for $2... " >&6; }
2300 if eval \${$3+:} false; then :
2301 $as_echo_n "(cached) " >&6
2303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2304 /* end confdefs.h. */
2305 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2307 #define $2 innocuous_$2
2309 /* System header to define __stub macros and hopefully few prototypes,
2310 which can conflict with char $2 (); below.
2311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2312 <limits.h> exists even on freestanding compilers. */
2315 # include <limits.h>
2317 # include <assert.h>
2322 /* Override any GCC internal prototype to avoid an error.
2323 Use char because int might match the return type of a GCC
2324 builtin and then its argument prototype would still apply. */
2329 /* The GNU C library defines this for functions which it implements
2330 to always fail with ENOSYS. Some functions are actually named
2331 something starting with __ and the normal name is an alias. */
2332 #if defined __stub_$2 || defined __stub___$2
2344 if ac_fn_c_try_link "$LINENO"; then :
2349 rm -f core conftest.err conftest.$ac_objext \
2350 conftest$ac_exeext conftest.$ac_ext
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2354 $as_echo "$ac_res" >&6; }
2355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2357 } # ac_fn_c_check_func
2358 cat >config.log <<_ACEOF
2359 This file contains any messages produced by compilers while
2360 running configure, to aid debugging if configure makes a mistake.
2362 It was created by $as_me, which was
2363 generated by GNU Autoconf 2.69. Invocation command line was
2375 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2376 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2377 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2378 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2379 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2381 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2382 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2384 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2385 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2386 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2387 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2388 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2389 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2390 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 test -z "$as_dir" && as_dir=.
2399 $as_echo "PATH: $as_dir"
2415 # Keep a trace of the command line.
2416 # Strip out --no-create and --no-recursion so they do not pile up.
2417 # Strip out --silent because we don't want to record it for future runs.
2418 # Also quote any args containing shell meta-characters.
2419 # Make two passes to allow for proper duplicate-argument suppression.
2423 ac_must_keep_next=false
2429 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2430 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2431 | -silent | --silent | --silen | --sile | --sil)
2434 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2437 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2439 as_fn_append ac_configure_args1 " '$ac_arg'"
2440 if test $ac_must_keep_next = true; then
2441 ac_must_keep_next=false # Got value, back to normal.
2444 *=* | --config-cache | -C | -disable-* | --disable-* \
2445 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2446 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2447 | -with-* | --with-* | -without-* | --without-* | --x)
2448 case "$ac_configure_args0 " in
2449 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2452 -* ) ac_must_keep_next=true ;;
2455 as_fn_append ac_configure_args " '$ac_arg'"
2460 { ac_configure_args0=; unset ac_configure_args0;}
2461 { ac_configure_args1=; unset ac_configure_args1;}
2463 # When interrupted or exit'd, cleanup temporary files, and complete
2464 # config.log. We remove comments because anyway the quotes in there
2465 # would cause problems or look ugly.
2466 # WARNING: Use '\'' to represent an apostrophe within the trap.
2467 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2468 trap 'exit_status=$?
2469 # Save into config.log some information that might help in debugging.
2473 $as_echo "## ---------------- ##
2474 ## Cache variables. ##
2475 ## ---------------- ##"
2477 # The following way of writing the cache mishandles newlines in values,
2479 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2480 eval ac_val=\$$ac_var
2484 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2485 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2488 _ | IFS | as_nl) ;; #(
2489 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2490 *) { eval $ac_var=; unset $ac_var;} ;;
2495 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2496 *${as_nl}ac_space=\ *)
2498 "s/'\''/'\''\\\\'\'''\''/g;
2499 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2502 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2509 $as_echo "## ----------------- ##
2510 ## Output variables. ##
2511 ## ----------------- ##"
2513 for ac_var in $ac_subst_vars
2515 eval ac_val=\$$ac_var
2517 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2519 $as_echo "$ac_var='\''$ac_val'\''"
2523 if test -n "$ac_subst_files"; then
2524 $as_echo "## ------------------- ##
2525 ## File substitutions. ##
2526 ## ------------------- ##"
2528 for ac_var in $ac_subst_files
2530 eval ac_val=\$$ac_var
2532 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2534 $as_echo "$ac_var='\''$ac_val'\''"
2539 if test -s confdefs.h; then
2540 $as_echo "## ----------- ##
2547 test "$ac_signal" != 0 &&
2548 $as_echo "$as_me: caught signal $ac_signal"
2549 $as_echo "$as_me: exit $exit_status"
2551 rm -f core *.core core.conftest.* &&
2552 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2555 for ac_signal in 1 2 13 15; do
2556 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2560 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2561 rm -f -r conftest* confdefs.h
2563 $as_echo "/* confdefs.h */" > confdefs.h
2565 # Predefined preprocessor variables.
2567 cat >>confdefs.h <<_ACEOF
2568 #define PACKAGE_NAME "$PACKAGE_NAME"
2571 cat >>confdefs.h <<_ACEOF
2572 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2575 cat >>confdefs.h <<_ACEOF
2576 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2579 cat >>confdefs.h <<_ACEOF
2580 #define PACKAGE_STRING "$PACKAGE_STRING"
2583 cat >>confdefs.h <<_ACEOF
2584 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2587 cat >>confdefs.h <<_ACEOF
2588 #define PACKAGE_URL "$PACKAGE_URL"
2592 # Let the site file select an alternate cache file if it wants to.
2593 # Prefer an explicitly selected file to automatically selected ones.
2596 if test -n "$CONFIG_SITE"; then
2597 # We do not want a PATH search for config.site.
2598 case $CONFIG_SITE in #((
2599 -*) ac_site_file1=./$CONFIG_SITE;;
2600 */*) ac_site_file1=$CONFIG_SITE;;
2601 *) ac_site_file1=./$CONFIG_SITE;;
2603 elif test "x$prefix" != xNONE; then
2604 ac_site_file1=$prefix/share/config.site
2605 ac_site_file2=$prefix/etc/config.site
2607 ac_site_file1=$ac_default_prefix/share/config.site
2608 ac_site_file2=$ac_default_prefix/etc/config.site
2610 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2612 test "x$ac_site_file" = xNONE && continue
2613 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2615 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2616 sed 's/^/| /' "$ac_site_file" >&5
2618 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2620 as_fn_error $? "failed to load site
script $ac_site_file
2621 See \
`config.log' for more details" "$LINENO" 5; }
2625 if test -r "$cache_file"; then
2626 # Some versions of bash will fail to source /dev/null (special files
2627 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2628 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2630 $as_echo "$as_me: loading cache $cache_file" >&6;}
2632 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2633 *) . "./$cache_file";;
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2638 $as_echo "$as_me: creating cache $cache_file" >&6;}
2642 as_fn_append ac_header_list " stdlib.h"
2643 as_fn_append ac_header_list " unistd.h"
2644 as_fn_append ac_header_list " sys/param.h"
2645 # Check that the precious variables saved in the cache have kept the same
2647 ac_cache_corrupted=false
2648 for ac_var in $ac_precious_vars; do
2649 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2650 eval ac_new_set=\$ac_env_${ac_var}_set
2651 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2652 eval ac_new_val=\$ac_env_${ac_var}_value
2653 case $ac_old_set,$ac_new_set in
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2656 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2657 ac_cache_corrupted=: ;;
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2660 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2661 ac_cache_corrupted=: ;;
2664 if test "x$ac_old_val" != "x$ac_new_val"; then
2665 # differences in whitespace do not lead to failure.
2666 ac_old_val_w=`echo x
$ac_old_val`
2667 ac_new_val_w=`echo x
$ac_new_val`
2668 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2670 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2671 ac_cache_corrupted=:
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2674 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2675 eval $ac_var=\$ac_old_val
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2678 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2680 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2683 # Pass precious variables to config.status.
2684 if test "$ac_new_set" = set; then
2686 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2687 *) ac_arg=$ac_var=$ac_new_val ;;
2689 case " $ac_configure_args " in
2690 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2691 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2695 if $ac_cache_corrupted; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2699 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2700 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2702 ## -------------------- ##
2703 ## Main body of script. ##
2704 ## -------------------- ##
2707 ac_cpp='$CPP $CPPFLAGS'
2708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2715 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2716 if test -f "$ac_dir/install-sh"; then
2718 ac_install_sh="$ac_aux_dir/install-sh -c"
2720 elif test -f "$ac_dir/install.sh"; then
2722 ac_install_sh="$ac_aux_dir/install.sh -c"
2724 elif test -f "$ac_dir/shtool"; then
2726 ac_install_sh="$ac_aux_dir/shtool install -c"
2730 if test -z "$ac_aux_dir"; then
2731 as_fn_error $? "cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2734 # These three variables are undocumented and unsupported,
2735 # and are intended to be withdrawn in a future Autoconf release.
2736 # They can cause serious problems if a builder's source tree is in a directory
2737 # whose full name contains unusual characters.
2738 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2739 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2740 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2744 # Check what host we are running on.
2745 # If a target is not suggested, we use this one.
2746 # Note that what we call a target, Autoconf calls a host.
2747 # Make sure we can run config.sub.
2748 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2749 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2752 $as_echo_n "checking build system type... " >&6; }
2753 if ${ac_cv_build+:} false; then :
2754 $as_echo_n "(cached) " >&6
2756 ac_build_alias=$build_alias
2757 test "x$ac_build_alias" = x &&
2758 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2759 test "x$ac_build_alias" = x &&
2760 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2761 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2762 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2766 $as_echo "$ac_cv_build" >&6; }
2767 case $ac_cv_build in
2769 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2772 ac_save_IFS=$IFS; IFS='-'
2778 # Remember, the first character of IFS is used to create $*,
2779 # except with old shells:
2782 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2786 $as_echo_n "checking host system type... " >&6; }
2787 if ${ac_cv_host+:} false; then :
2788 $as_echo_n "(cached) " >&6
2790 if test "x$host_alias" = x; then
2791 ac_cv_host=$ac_cv_build
2793 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2794 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2799 $as_echo "$ac_cv_host" >&6; }
2802 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2805 ac_save_IFS=$IFS; IFS='-'
2811 # Remember, the first character of IFS is used to create $*,
2812 # except with old shells:
2815 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2819 # Default versions for the gnu tools we build
2820 default_toolchain_family=`cat ${srcdir}/config
/toolchain_def
`
2821 default_gcc_version=`cat ${srcdir}/config
/gcc_def
`
2822 exp_gcc_version=`cat ${srcdir}/config
/gcc_exp
`
2823 default_binutils_version=`cat ${srcdir}/config
/binutils_def
`
2824 exp_binutils_version=`cat ${srcdir}/config
/binutils_exp
`
2825 default_grub2_version="2.02"
2826 target_grub2_version=$default_grub2_version
2828 # The AROS target is slightly different to the normal GNU style
2829 # format. We don't have the middle part, and we reverse the order
2830 # of the $(CPU) and $(OS) bits.
2832 # Don't strip the version of the target yet, it might be
2833 # useful on some systems.
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2836 $as_echo_n "checking for AROS style target... " >&6; }
2838 if test "$target" = "NONE" ; then
2839 target=$host_os-$host_cpu
2841 if test "$target" = "" ; then
2842 target=$host_os-$host_cpu
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2846 $as_echo "$target" >&6; }
2848 if test "$host_os" = "mingw32" ; then
2852 # Don't know where else to put this...
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2854 $as_echo_n "checking building AROS in... " >&6; }
2855 AROS_BUILDDIR=`${PWDCMD-pwd}`
2856 AROS_BUILDDIR_UNIX=${PWD}
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2858 $as_echo "$AROS_BUILDDIR" >&6; }
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2861 $as_echo_n "checking AROS source in... " >&6; }
2862 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2865 $as_echo "$SRCDIR" >&6; }
2867 # Parse the target field into something useful.
2869 target_os=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\1/'`
2870 target_cpu=`echo $target |
sed 's/^\([^-].*\)-\(.*\)$/\2/'`
2873 # Some debug output, to be removed again.
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target system (debug output)" >&5
2875 $as_echo_n "checking for target system (debug output)... " >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_os" >&5
2877 $as_echo "$target_os" >&6; }
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target cpu (debug output)" >&5
2879 $as_echo_n "checking for target cpu (debug output)... " >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_cpu" >&5
2881 $as_echo "$target_cpu" >&6; }
2883 aros_nominal_width=800
2884 aros_nominal_height=600
2885 aros_nominal_depth=4
2888 default_c_compilers="gcc clang cc"
2890 # Check whether --with-c-compiler was given.
2891 if test "${with_c_compiler+set}" = set; then :
2892 withval=$with_c_compiler; use_c_compiler="$withval"
2897 if test "$use_c_compiler" = ""; then
2898 host_c_compilers="$default_c_compilers"
2900 host_c_compilers="$use_c_compiler"
2904 default_cxx_compilers="g++ clang++ c++"
2906 # Check whether --with-cxx-compiler was given.
2907 if test "${with_cxx_compiler+set}" = set; then :
2908 withval=$with_cxx_compiler; use_cxx_compiler="$withval"
2913 if test "$use_cxx_compiler" = ""; then
2914 host_cxx_compilers="$default_cxx_compilers"
2916 host_cxx_compilers="$use_cxx_compiler"
2917 CXX=$use_cxx_compiler
2921 # The first step is to find the host binaries.
2922 # Check for a compiler.
2923 # Due to a bug in autoconf check for c++ compiler first.
2924 # For mor info see, http://osdir.com/ml/bug-autoconf-gnu/2010-05/msg00001.html.
2926 ac_cpp='$CXXCPP $CPPFLAGS'
2927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2930 if test -z "$CXX"; then
2931 if test -n "$CCC"; then
2934 if test -n "$ac_tool_prefix"; then
2935 for ac_prog in ${host_cxx_compilers}
2937 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if ${ac_cv_prog_CXX+:} false; then :
2942 $as_echo_n "(cached) " >&6
2944 if test -n "$CXX"; then
2945 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir=.
2952 for ac_exec_ext in '' $ac_executable_extensions; do
2953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2965 if test -n "$CXX"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2967 $as_echo "$CXX" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2974 test -n "$CXX" && break
2977 if test -z "$CXX"; then
2979 for ac_prog in ${host_cxx_compilers}
2981 # Extract the first word of "$ac_prog", so it can be a program name with args.
2982 set dummy $ac_prog; ac_word=$2
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984 $as_echo_n "checking for $ac_word... " >&6; }
2985 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2986 $as_echo_n "(cached) " >&6
2988 if test -n "$ac_ct_CXX"; then
2989 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2995 test -z "$as_dir" && as_dir=.
2996 for ac_exec_ext in '' $ac_executable_extensions; do
2997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2998 ac_cv_prog_ac_ct_CXX="$ac_prog"
2999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3009 if test -n "$ac_ct_CXX"; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3011 $as_echo "$ac_ct_CXX" >&6; }
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014 $as_echo "no" >&6; }
3018 test -n "$ac_ct_CXX" && break
3021 if test "x$ac_ct_CXX" = x; then
3024 case $cross_compiling:$ac_tool_warned in
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3028 ac_tool_warned=yes ;;
3036 # Provide some information about the compiler.
3037 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3040 for ac_option in --version -v -V -qversion; do
3041 { { ac_try="$ac_compiler $ac_option >&5"
3043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3044 *) ac_try_echo
=$ac_try;;
3046 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3050 if test -s conftest.err
; then
3052 ... rest of stderr output deleted ...
3053 10q' conftest.err
>conftest.er1
3054 cat conftest.er1
>&5
3056 rm -f conftest.er1 conftest.err
3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058 test $ac_status = 0; }
3061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3072 ac_clean_files_save
=$ac_clean_files
3073 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3074 # Try to create an executable without -o first, disregard a.out.
3075 # It will help us diagnose broken compilers, and finding out an intuition
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3078 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3079 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3081 # The possible output files:
3082 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3085 for ac_file
in $ac_files
3088 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3089 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3094 if { { ac_try
="$ac_link_default"
3096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3100 $as_echo "$ac_try_echo"; } >&5
3101 (eval "$ac_link_default") 2>&5
3103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3104 test $ac_status = 0; }; then :
3105 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3106 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3107 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3108 # so that the user can short-circuit this test for compilers unknown to
3110 for ac_file in $ac_files ''
3112 test -f "$ac_file" || continue
3114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3117 # We found the default executable, but exeext='' is most
3121 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3123 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3125 # We set ac_cv_exeext here because the later test for it is not
3126 # safe: cross compilers may not add the suffix if given an `-o'
3127 # argument, so we may need to know it at that point already.
3128 # Even if this section looks crufty: it has the advantage of
3135 test "$ac_cv_exeext" = no && ac_cv_exeext=
3140 if test -z "$ac_file"; then :
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3142 $as_echo "no" >&6; }
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's
/^
/|
/' conftest.$ac_ext >&5
3146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3148 as_fn_error 77 "C++ compiler cannot create executables
3149 See \`config.log
' for more details" "$LINENO" 5; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3152 $as_echo "yes" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3155 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3157 $as_echo "$ac_file" >&6; }
3158 ac_exeext=$ac_cv_exeext
3160 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3161 ac_clean_files=$ac_clean_files_save
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3163 $as_echo_n "checking for suffix of executables... " >&6; }
3164 if { { ac_try="$ac_link"
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_link") 2>&5
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; }; then :
3175 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3176 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3177 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3179 for ac_file
in conftest.exe conftest conftest.
*; do
3180 test -f "$ac_file" ||
continue
3182 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3183 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3192 See \`config.log' for more details" "$LINENO" 5; }
3194 rm -f conftest conftest
$ac_cv_exeext
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3196 $as_echo "$ac_cv_exeext" >&6; }
3198 rm -f conftest.
$ac_ext
3199 EXEEXT
=$ac_cv_exeext
3201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3207 FILE *f = fopen ("conftest.out", "w");
3208 return ferror (f) || fclose (f) != 0;
3214 ac_clean_files
="$ac_clean_files conftest.out"
3215 # Check that the compiler produces executables we can run. If not, either
3216 # the compiler is broken, or we cross compile.
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3218 $as_echo_n "checking whether we are cross compiling... " >&6; }
3219 if test "$cross_compiling" != yes; then
3220 { { ac_try
="$ac_link"
3222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_link") 2>&5
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }
3231 if { ac_try='./conftest$ac_cv_exeext'
3232 { { case "(($ac_try" in
3233 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3234 *) ac_try_echo
=$ac_try;;
3236 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237 $as_echo "$ac_try_echo"; } >&5
3238 (eval "$ac_try") 2>&5
3240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3241 test $ac_status = 0; }; }; then
3244 if test "$cross_compiling" = maybe
; then
3247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249 as_fn_error $?
"cannot run C++ compiled programs.
3250 If you meant to cross compile, use \`--host'.
3251 See \`config.log' for more details" "$LINENO" 5; }
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3256 $as_echo "$cross_compiling" >&6; }
3258 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3259 ac_clean_files
=$ac_clean_files_save
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3261 $as_echo_n "checking for suffix of object files... " >&6; }
3262 if ${ac_cv_objext+:} false
; then :
3263 $as_echo_n "(cached) " >&6
3265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3276 rm -f conftest.o conftest.obj
3277 if { { ac_try
="$ac_compile"
3279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3283 $as_echo "$ac_try_echo"; } >&5
3284 (eval "$ac_compile") 2>&5
3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3287 test $ac_status = 0; }; then :
3288 for ac_file in conftest.o conftest.obj conftest.*; do
3289 test -f "$ac_file" || continue;
3291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3292 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3303 See \
`config.log' for more details" "$LINENO" 5; }
3305 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3308 $as_echo "$ac_cv_objext" >&6; }
3309 OBJEXT=$ac_cv_objext
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3312 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3313 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3314 $as_echo_n "(cached) " >&6
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3330 if ac_fn_cxx_try_compile "$LINENO"; then :
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3340 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3341 if test $ac_compiler_gnu = yes; then
3346 ac_test_CXXFLAGS=${CXXFLAGS+set}
3347 ac_save_CXXFLAGS=$CXXFLAGS
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3349 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3350 if ${ac_cv_prog_cxx_g+:} false; then :
3351 $as_echo_n "(cached) " >&6
3353 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3354 ac_cxx_werror_flag=yes
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3368 if ac_fn_cxx_try_compile "$LINENO"; then :
3369 ac_cv_prog_cxx_g=yes
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3383 if ac_fn_cxx_try_compile "$LINENO"; then :
3386 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3399 if ac_fn_cxx_try_compile "$LINENO"; then :
3400 ac_cv_prog_cxx_g=yes
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3410 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3411 if test "$ac_test_CXXFLAGS" = set; then
3412 CXXFLAGS=$ac_save_CXXFLAGS
3413 elif test $ac_cv_prog_cxx_g = yes; then
3414 if test "$GXX" = yes; then
3420 if test "$GXX" = yes; then
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3433 # Extract the first word of "$CXX", so it can be a program name with args.
3434 set dummy $CXX; ac_word=$2
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3436 $as_echo_n "checking for $ac_word... " >&6; }
3437 if ${ac_cv_path_CXX+:} false; then :
3438 $as_echo_n "(cached) " >&6
3442 ac_cv_path_CXX="$CXX" # Let the user override the test with a path.
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3449 test -z "$as_dir" && as_dir=.
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3452 ac_cv_path_CXX="$as_dir/$ac_word$ac_exec_ext"
3453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3464 if test -n "$CXX"; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3466 $as_echo "$CXX" >&6; }
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469 $as_echo "no" >&6; }
3474 ac_cpp='$CPP $CPPFLAGS'
3475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3478 if test -n "$ac_tool_prefix"; then
3479 for ac_prog in ${host_c_compilers}
3481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if ${ac_cv_prog_CC+:} false; then :
3486 $as_echo_n "(cached) " >&6
3488 if test -n "$CC"; then
3489 ac_cv_prog_CC="$CC" # Let the user override the test.
3491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495 test -z "$as_dir" && as_dir=.
3496 for ac_exec_ext in '' $ac_executable_extensions; do
3497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3509 if test -n "$CC"; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3511 $as_echo "$CC" >&6; }
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3518 test -n "$CC" && break
3521 if test -z "$CC"; then
3523 for ac_prog in ${host_c_compilers}
3525 # Extract the first word of "$ac_prog", so it can be a program name with args.
3526 set dummy $ac_prog; ac_word=$2
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3528 $as_echo_n "checking for $ac_word... " >&6; }
3529 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3530 $as_echo_n "(cached) " >&6
3532 if test -n "$ac_ct_CC"; then
3533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3539 test -z "$as_dir" && as_dir=.
3540 for ac_exec_ext in '' $ac_executable_extensions; do
3541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3542 ac_cv_prog_ac_ct_CC="$ac_prog"
3543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3553 if test -n "$ac_ct_CC"; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3555 $as_echo "$ac_ct_CC" >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3558 $as_echo "no" >&6; }
3562 test -n "$ac_ct_CC" && break
3565 if test "x$ac_ct_CC" = x; then
3568 case $cross_compiling:$ac_tool_warned in
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3572 ac_tool_warned=yes ;;
3579 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3581 as_fn_error $? "no acceptable C compiler found
in \
$PATH
3582 See \
`config.log' for more details" "$LINENO" 5; }
3584 # Provide some information about the compiler.
3585 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3588 for ac_option in --version -v -V -qversion; do
3589 { { ac_try="$ac_compiler $ac_option >&5"
3591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3592 *) ac_try_echo
=$ac_try;;
3594 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3595 $as_echo "$ac_try_echo"; } >&5
3596 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3598 if test -s conftest.err
; then
3600 ... rest of stderr output deleted ...
3601 10q' conftest.err
>conftest.er1
3602 cat conftest.er1
>&5
3604 rm -f conftest.er1 conftest.err
3605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3606 test $ac_status = 0; }
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3610 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3611 if ${ac_cv_c_compiler_gnu+:} false
; then :
3612 $as_echo_n "(cached) " >&6
3614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3628 if ac_fn_c_try_compile
"$LINENO"; then :
3633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3634 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3638 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3639 if test $ac_compiler_gnu = yes; then
3644 ac_test_CFLAGS
=${CFLAGS+set}
3645 ac_save_CFLAGS
=$CFLAGS
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3647 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3648 if ${ac_cv_prog_cc_g+:} false
; then :
3649 $as_echo_n "(cached) " >&6
3651 ac_save_c_werror_flag
=$ac_c_werror_flag
3652 ac_c_werror_flag
=yes
3655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3666 if ac_fn_c_try_compile
"$LINENO"; then :
3670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3671 /* end confdefs.h. */
3681 if ac_fn_c_try_compile
"$LINENO"; then :
3684 ac_c_werror_flag
=$ac_save_c_werror_flag
3686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3697 if ac_fn_c_try_compile
"$LINENO"; then :
3700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3705 ac_c_werror_flag
=$ac_save_c_werror_flag
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3708 $as_echo "$ac_cv_prog_cc_g" >&6; }
3709 if test "$ac_test_CFLAGS" = set; then
3710 CFLAGS
=$ac_save_CFLAGS
3711 elif test $ac_cv_prog_cc_g = yes; then
3712 if test "$GCC" = yes; then
3718 if test "$GCC" = yes; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3725 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3726 if ${ac_cv_prog_cc_c89+:} false
; then :
3727 $as_echo_n "(cached) " >&6
3729 ac_cv_prog_cc_c89
=no
3731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3736 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3737 struct buf { int x; };
3738 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3739 static char *e (p, i)
3745 static char *f (char * (*g) (char **, int), char **p, ...)
3750 s = g (p, va_arg (v,int));
3755 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3756 function prototypes and stuff, but not '\xHH' hex character constants.
3757 These don't provoke an error unfortunately, instead are silently treated
3758 as 'x'. The following induces an error, until -std is added to get
3759 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3760 array size at least. It's necessary to write '\x00'==0 to get something
3761 that's true only with -std. */
3762 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3764 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3765 inside strings and character constants. */
3767 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3769 int test (int i, double x);
3770 struct s1 {int (*f) (int a);};
3771 struct s2 {int (*f) (double a);};
3772 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3778 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3783 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3784 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3786 CC
="$ac_save_CC $ac_arg"
3787 if ac_fn_c_try_compile
"$LINENO"; then :
3788 ac_cv_prog_cc_c89
=$ac_arg
3790 rm -f core conftest.err conftest.
$ac_objext
3791 test "x$ac_cv_prog_cc_c89" != "xno" && break
3793 rm -f conftest.
$ac_ext
3798 case "x$ac_cv_prog_cc_c89" in
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3801 $as_echo "none needed" >&6; } ;;
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3804 $as_echo "unsupported" >&6; } ;;
3806 CC
="$CC $ac_cv_prog_cc_c89"
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3808 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3810 if test "x$ac_cv_prog_cc_c89" != xno
; then :
3815 ac_cpp
='$CPP $CPPFLAGS'
3816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3821 # Extract the first word of "$CC", so it can be a program name with args.
3822 set dummy
$CC; ac_word
=$2
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3824 $as_echo_n "checking for $ac_word... " >&6; }
3825 if ${ac_cv_path_CC+:} false
; then :
3826 $as_echo_n "(cached) " >&6
3830 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3840 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
3841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3861 aros_host_def_cc
="$CC"
3862 case $ac_cv_prog_cc_stdc in #(
3864 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3867 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3868 if ${ac_cv_prog_cc_c99+:} false
; then :
3869 $as_echo_n "(cached) " >&6
3871 ac_cv_prog_cc_c99
=no
3873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3876 #include <stdbool.h>
3881 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3882 #define debug(...) fprintf (stderr, __VA_ARGS__)
3883 #define showlist(...) puts (#__VA_ARGS__)
3884 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3886 test_varargs_macros (void)
3891 debug ("X = %d\n", x);
3892 showlist (The first, second, and third items.);
3893 report (x>y, "x is %d but y is %d", x, y);
3896 // Check long long types.
3897 #define BIG64 18446744073709551615ull
3898 #define BIG32 4294967295ul
3899 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3901 your preprocessor is broken;
3905 your preprocessor is broken;
3907 static long long int bignum = -9223372036854775807LL;
3908 static unsigned long long int ubignum = BIG64;
3910 struct incomplete_array
3918 const wchar_t *name;
3922 typedef const char *ccp;
3925 test_restrict (ccp restrict text)
3927 // See if C++-style comments work.
3928 // Iterate through items via the restricted pointer.
3929 // Also check for declarations in for loops.
3930 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3935 // Check varargs and va_copy.
3937 test_varargs (const char *format, ...)
3940 va_start (args, format);
3942 va_copy (args_copy, args);
3953 str = va_arg (args_copy, const char *);
3956 number = va_arg (args_copy, int);
3959 fnumber = va_arg (args_copy, double);
3974 _Bool success = false;
3977 if (test_restrict ("String literal") == 0)
3979 char *restrict newvar = "Another string";
3982 test_varargs ("s, d' f .", "string", 65, 34.234);
3983 test_varargs_macros ();
3985 // Check flexible array members.
3986 struct incomplete_array *ia =
3987 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3989 for (int i = 0; i < ia->datasize; ++i)
3990 ia->data[i] = i * 1.234;
3992 // Check named initializers.
3993 struct named_init ni = {
3995 .name = L"Test wide string",
3996 .average = 543.34343,
4001 int dynamic_array[ni.number];
4002 dynamic_array[ni.number - 1] = 543;
4004 // work around unused variable warnings
4005 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4006 || dynamic_array[ni.number - 1] != 543);
4012 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4014 CC
="$ac_save_CC $ac_arg"
4015 if ac_fn_c_try_compile
"$LINENO"; then :
4016 ac_cv_prog_cc_c99
=$ac_arg
4018 rm -f core conftest.err conftest.
$ac_objext
4019 test "x$ac_cv_prog_cc_c99" != "xno" && break
4021 rm -f conftest.
$ac_ext
4026 case "x$ac_cv_prog_cc_c99" in
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4029 $as_echo "none needed" >&6; } ;;
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4032 $as_echo "unsupported" >&6; } ;;
4034 CC
="$CC $ac_cv_prog_cc_c99"
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4036 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4038 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4039 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4042 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4043 if ${ac_cv_prog_cc_c89+:} false
; then :
4044 $as_echo_n "(cached) " >&6
4046 ac_cv_prog_cc_c89
=no
4048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4053 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4054 struct buf { int x; };
4055 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4056 static char *e (p, i)
4062 static char *f (char * (*g) (char **, int), char **p, ...)
4067 s = g (p, va_arg (v,int));
4072 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4073 function prototypes and stuff, but not '\xHH' hex character constants.
4074 These don't provoke an error unfortunately, instead are silently treated
4075 as 'x'. The following induces an error, until -std is added to get
4076 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4077 array size at least. It's necessary to write '\x00'==0 to get something
4078 that's true only with -std. */
4079 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4081 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4082 inside strings and character constants. */
4084 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4086 int test (int i, double x);
4087 struct s1 {int (*f) (int a);};
4088 struct s2 {int (*f) (double a);};
4089 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4095 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4100 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4101 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4103 CC
="$ac_save_CC $ac_arg"
4104 if ac_fn_c_try_compile
"$LINENO"; then :
4105 ac_cv_prog_cc_c89
=$ac_arg
4107 rm -f core conftest.err conftest.
$ac_objext
4108 test "x$ac_cv_prog_cc_c89" != "xno" && break
4110 rm -f conftest.
$ac_ext
4115 case "x$ac_cv_prog_cc_c89" in
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4118 $as_echo "none needed" >&6; } ;;
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4121 $as_echo "unsupported" >&6; } ;;
4123 CC
="$CC $ac_cv_prog_cc_c89"
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4125 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4127 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4128 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4130 ac_cv_prog_cc_stdc
=no
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4137 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4138 if ${ac_cv_prog_cc_stdc+:} false
; then :
4139 $as_echo_n "(cached) " >&6
4142 case $ac_cv_prog_cc_stdc in #(
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4145 $as_echo "unsupported" >&6; } ;; #(
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4148 $as_echo "none needed" >&6; } ;; #(
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4151 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4155 ac_cpp
='$CPP $CPPFLAGS'
4156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4160 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4161 # On Suns, sometimes $CPP names a directory.
4162 if test -n "$CPP" && test -d "$CPP"; then
4165 if test -z "$CPP"; then
4166 if ${ac_cv_prog_CPP+:} false
; then :
4167 $as_echo_n "(cached) " >&6
4169 # Double quotes because CPP needs to be expanded
4170 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4173 for ac_c_preproc_warn_flag
in '' yes
4175 # Use a header file that comes with gcc, so configuring glibc
4176 # with a fresh cross-compiler works.
4177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4178 # <limits.h> exists even on freestanding compilers.
4179 # On the NeXT, cc -E runs the code through the compiler's parser,
4180 # not just through cpp. "Syntax error" is here to catch this case.
4181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4184 # include <limits.h>
4186 # include <assert.h>
4190 if ac_fn_c_try_cpp
"$LINENO"; then :
4193 # Broken: fails on valid input.
4196 rm -f conftest.err conftest.i conftest.
$ac_ext
4198 # OK, works on sane cases. Now check whether nonexistent headers
4199 # can be detected and how.
4200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4202 #include <ac_nonexistent.h>
4204 if ac_fn_c_try_cpp
"$LINENO"; then :
4205 # Broken: success on invalid input.
4208 # Passes both tests.
4212 rm -f conftest.err conftest.i conftest.
$ac_ext
4215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4216 rm -f conftest.i conftest.err conftest.
$ac_ext
4217 if $ac_preproc_ok; then :
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4230 $as_echo "$CPP" >&6; }
4232 for ac_c_preproc_warn_flag
in '' yes
4234 # Use a header file that comes with gcc, so configuring glibc
4235 # with a fresh cross-compiler works.
4236 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4237 # <limits.h> exists even on freestanding compilers.
4238 # On the NeXT, cc -E runs the code through the compiler's parser,
4239 # not just through cpp. "Syntax error" is here to catch this case.
4240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4243 # include <limits.h>
4245 # include <assert.h>
4249 if ac_fn_c_try_cpp
"$LINENO"; then :
4252 # Broken: fails on valid input.
4255 rm -f conftest.err conftest.i conftest.
$ac_ext
4257 # OK, works on sane cases. Now check whether nonexistent headers
4258 # can be detected and how.
4259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4261 #include <ac_nonexistent.h>
4263 if ac_fn_c_try_cpp
"$LINENO"; then :
4264 # Broken: success on invalid input.
4267 # Passes both tests.
4271 rm -f conftest.err conftest.i conftest.
$ac_ext
4274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4275 rm -f conftest.i conftest.err conftest.
$ac_ext
4276 if $ac_preproc_ok; then :
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4282 See \`config.log' for more details" "$LINENO" 5; }
4286 ac_cpp
='$CPP $CPPFLAGS'
4287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4292 # detect the compiler version
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which toolchain family ${CC} belongs to" >&5
4294 $as_echo_n "checking which toolchain family ${CC} belongs to... " >&6; }
4295 HOST_COMPILER_VERSION
=`"$CC" --version 2>/dev/null`
4296 if test x
"$HOST_COMPILER_VERSION" = "x"; then
4297 HOST_COMPILER_VERSION
=`"$CC" --qversion 2>/dev/null`
4299 if test x
"$HOST_COMPILER_VERSION" = "x"; then
4300 HOST_COMPILER_VERSION
=`"$CC" -V 2>/dev/null`
4303 IS_SUN_COMPILER
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'Sun C\+\+'`
4304 if test "$IS_SUN_COMPILER" -ne "0"; then
4305 HOST_TOOLCHAIN_PREFIX
=
4306 HOST_TOOLCHAIN_SUFFIX
=
4307 HOST_TOOLCHAIN_FAMILY
=sun
4309 IS_LLVM_COMPILER
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'LLVM|clang'`
4310 if test "$IS_LLVM_COMPILER" -ne "0"; then
4311 if test "$CC_BASE" != "gcc"; then
4312 HOST_TOOLCHAIN_PREFIX
=llvm-
4313 HOST_TOOLCHAIN_SUFFIX
="`echo $CC_BASE | sed -e \"s|clang||g\"`"
4314 HOST_TOOLCHAIN_FAMILY
=llvm
4319 IS_GNU_COMPILER?
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'gcc'`
4320 if test "$IS_GNU_COMPILER" -ne "0"; then
4321 HOST_TOOLCHAIN_PREFIX
=
4322 HOST_TOOLCHAIN_SUFFIX
=
4323 HOST_TOOLCHAIN_FAMILY
=gnu
4325 if test x
"$HOST_TOOLCHAIN_FAMILY" = "x"; then
4326 HOST_TOOLCHAIN_FAMILY
=unknown
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOST_TOOLCHAIN_FAMILY" >&5
4329 $as_echo "$HOST_TOOLCHAIN_FAMILY" >&6; }
4331 # Check for a compatible awk
4332 for ac_prog
in gawk nawk
4334 # Extract the first word of "$ac_prog", so it can be a program name with args.
4335 set dummy
$ac_prog; ac_word
=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_AWK+:} false
; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -n "$AWK"; then
4342 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir
=.
4349 for ac_exec_ext
in '' $ac_executable_extensions; do
4350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_AWK
="$ac_prog"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 if test -n "$AWK"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4364 $as_echo "$AWK" >&6; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4371 test -n "$AWK" && break
4375 if test "$AWK" = ""; then
4378 if test "$AWK" = "no"; then
4381 if test "$req_avail" = "no"; then
4382 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4384 # Extract the first word of "mmake", so it can be a program name with args.
4385 set dummy mmake
; ac_word
=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if ${ac_cv_prog_MMAKE+:} false
; then :
4389 $as_echo_n "(cached) " >&6
4391 if test -n "$MMAKE"; then
4392 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_exec_ext
in '' $ac_executable_extensions; do
4400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_MMAKE
="mmake "
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 MMAKE
=$ac_cv_prog_MMAKE
4412 if test -n "$MMAKE"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4414 $as_echo "$MMAKE" >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4422 # Perform some default variable assignments. Note all of these will be
4423 # Regenerated from the script, so there is no need to cache them.
4425 aros_build_host
=$host
4426 aros_host_cpp
="$CPP"
4428 aros_host_cxx
="$CXX"
4429 base_ld_name
=${HOST_TOOLCHAIN_PREFIX}ld
${HOST_TOOLCHAIN_SUFFIX}
4430 if test "$HOST_TOOLCHAIN_FAMILY" = "llvm"; then
4431 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}
4433 # Extract the first word of "$ac_prog", so it can be a program name with args.
4434 set dummy
$ac_prog; ac_word
=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_base_lld_name+:} false
; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -n "$base_lld_name"; then
4441 ac_cv_prog_base_lld_name
="$base_lld_name" # Let the user override the test.
4443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir
=.
4448 for ac_exec_ext
in '' $ac_executable_extensions; do
4449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4450 ac_cv_prog_base_lld_name
="$ac_prog"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 base_lld_name
=$ac_cv_prog_base_lld_name
4461 if test -n "$base_lld_name"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $base_lld_name" >&5
4463 $as_echo "$base_lld_name" >&6; }
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4470 test -n "$base_lld_name" && break
4473 base_ld_name
=$base_lld_name
4476 if test "$base_ld_name" = ""; then
4479 ac_tool_ld
=$base_ld_name
4481 if test "$GCC" = "yes"; then
4482 aros_gcc_ld
=`$CC -print-prog-name=$ac_tool_ld`
4483 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4484 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if ${ac_cv_path_aros_host_ld+:} false
; then :
4488 $as_echo_n "(cached) " >&6
4490 case $aros_host_ld in
4492 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4496 for as_dir
in `dirname $aros_gcc_ld`
4499 test -z "$as_dir" && as_dir
=.
4500 for ac_exec_ext
in '' $ac_executable_extensions; do
4501 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4502 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4513 aros_host_ld
=$ac_cv_path_aros_host_ld
4514 if test -n "$aros_host_ld"; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4516 $as_echo "$aros_host_ld" >&6; }
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4519 $as_echo "no" >&6; }
4524 if test "$aros_host_ld" = ""; then
4525 for ac_prog
in $ac_tool_ld
4527 # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy
$ac_prog; ac_word
=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if ${ac_cv_path_aros_host_ld+:} false
; then :
4532 $as_echo_n "(cached) " >&6
4534 case $aros_host_ld in
4536 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4543 test -z "$as_dir" && as_dir
=.
4544 for ac_exec_ext
in '' $ac_executable_extensions; do
4545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4546 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 aros_host_ld
=$ac_cv_path_aros_host_ld
4558 if test -n "$aros_host_ld"; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4560 $as_echo "$aros_host_ld" >&6; }
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563 $as_echo "no" >&6; }
4567 test -n "$aros_host_ld" && break
4573 if test "$aros_host_ld" = ""; then
4576 if test "$aros_host_ld" = "no"; then
4579 if test "$req_avail" = "no"; then
4580 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4582 aros_host_make
="make"
4583 aros_host_cflags
="$CFLAGS"
4584 aros_host_cxxflags
="$CXXFLAGS"
4585 aros_host_cppflags
="$CPPFLAGS"
4586 aros_host_ldflags
="$LDFLAGS"
4587 aros_host_debug
="-g -O0"
4588 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4589 aros_host_mkargs
="--no-print-directory"
4590 aros_host_exe_suffix
="$EXEEXT"
4591 aros_host_lib_suffix
=""
4593 # Ignore all compliance, AROS ROMs = 0
4594 # KickStart v1.0 = 30
4595 # KickStart v1.3 = 34
4596 # KickStart v2.0 = 37
4597 # KickStart v3.0 = 39
4598 # KickStart v3.1 = 40
4600 aros_amigaos_compliance
=0
4602 for ac_prog
in aclocal aclocal19 aclocal-1.9
4604 # Extract the first word of "$ac_prog", so it can be a program name with args.
4605 set dummy
$ac_prog; ac_word
=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -n "$aros_host_aclocal"; then
4612 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir
=.
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4632 if test -n "$aros_host_aclocal"; then
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4634 $as_echo "$aros_host_aclocal" >&6; }
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4641 test -n "$aros_host_aclocal" && break
4644 for ac_prog
in autoconf autoconf259 autoconf253
4646 # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy
$ac_prog; ac_word
=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$aros_host_autoconf"; then
4654 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4674 if test -n "$aros_host_autoconf"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4676 $as_echo "$aros_host_autoconf" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$aros_host_autoconf" && break
4686 for ac_prog
in autoheader autoheader259 autoheader253
4688 # Extract the first word of "$ac_prog", so it can be a program name with args.
4689 set dummy
$ac_prog; ac_word
=$2
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 $as_echo_n "checking for $ac_word... " >&6; }
4692 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4693 $as_echo_n "(cached) " >&6
4695 if test -n "$aros_host_autoheader"; then
4696 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir
=.
4703 for ac_exec_ext
in '' $ac_executable_extensions; do
4704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4716 if test -n "$aros_host_autoheader"; then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4718 $as_echo "$aros_host_autoheader" >&6; }
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721 $as_echo "no" >&6; }
4725 test -n "$aros_host_autoheader" && break
4728 for ac_prog
in automake automake19 automake-1.9
4730 # Extract the first word of "$ac_prog", so it can be a program name with args.
4731 set dummy
$ac_prog; ac_word
=$2
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4735 $as_echo_n "(cached) " >&6
4737 if test -n "$aros_host_automake"; then
4738 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4744 test -z "$as_dir" && as_dir
=.
4745 for ac_exec_ext
in '' $ac_executable_extensions; do
4746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4747 ac_cv_prog_aros_host_automake
="$ac_prog"
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 aros_host_automake
=$ac_cv_prog_aros_host_automake
4758 if test -n "$aros_host_automake"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4760 $as_echo "$aros_host_automake" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4767 test -n "$aros_host_automake" && break
4772 if test "$aros_host_aclocal" = ""; then
4775 if test "$aros_host_aclocal" = "no"; then
4778 if test "$req_avail" = "no"; then
4779 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4782 if test "$aros_host_automake" = ""; then
4785 if test "$aros_host_automake" = "no"; then
4788 if test "$req_avail" = "no"; then
4789 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4792 case "$aros_host_cc" in
4794 aros_host_cc_pipe
=""
4797 aros_host_cc_pipe
="-pipe"
4800 aros_host_cc_pipe
=""
4803 aros_host_cc_pipe
=""
4807 aros_kernel_cc_includes
=""
4808 aros_target_cc_includes
=""
4811 # ----------------------------------------------------------------------------------------
4812 # Host-specific defaults
4814 # This is the main host configuration section. It is where the host
4815 # can change the values of any variables it needs to change. We do
4816 # not look at anything that compiles to the target yet, we'll get
4821 aros_host_arch
="aros"
4822 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4825 aros_host_cpu
="i386"
4828 aros_host_cpu
="x86_64"
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4835 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4836 aros_host_cpu
="$host_cpu"
4842 aros_host_arch
="linux"
4843 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4844 android_build_os
="linux-x86"
4845 android_tool
="android"
4846 default_android_sdk
="/opt/android-sdk-linux_x86"
4849 aros_host_cpu
="i386"
4852 aros_host_cpu
="x86_64"
4855 aros_host_cpu
="m68k"
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4865 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4866 aros_host_cpu
="$host_cpu"
4872 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4873 aros_host_make
="gmake"
4874 aros_host_arch
="freebsd"
4875 aros_host_cpu
="i386"
4877 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4881 aros_object_format
="elf_i386"
4885 aros_object_format
="elf_i386_fbsd"
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for macOS SDK files" >&5
4893 $as_echo_n "checking for macOS SDK files... " >&6; }
4894 LOC
=$
( xcode-select
-p )
4895 if test $?
!= 0; then :
4896 as_fn_error $?
"XCode incorrectly configured!
4897 please run 'xcode-select --install' before
4898 re-running configure" "$LINENO" 5
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOC" >&5
4901 $as_echo "$LOC" >&6; }
4902 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4903 aros_host_arch
="darwin"
4905 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4906 android_build_os
="darwin-x86"
4907 android_tool
="android"
4908 default_android_sdk
="/android-sdk-mac_x86"
4911 aros_host_cpu
="i386"
4914 aros_host_cpu
="x86_64"
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4921 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4922 aros_host_cpu
="$host_cpu"
4926 aros_host_ldflags
="$aros_host_ldflags -liconv"
4931 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4932 aros_host_make
="gmake"
4933 aros_host_arch
="dragonfly"
4936 aros_host_cpu
="i386"
4939 aros_host_cpu
="x86_64"
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4943 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4944 aros_host_cpu
="$host_cpu"
4950 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4951 aros_host_make
="gmake"
4952 aros_host_arch
="netbsd"
4955 aros_host_cpu
="i386"
4958 aros_host_cpu
="m68k"
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4962 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4963 aros_host_cpu
="$host_cpu"
4966 aros_host_lib_suffix
=".0.0"
4970 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4971 aros_host_make
="gmake"
4972 aros_host_arch
="openbsd"
4975 aros_host_cpu
="i386"
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4979 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4980 aros_host_cpu
="$host_cpu"
4986 aros_host_arch
="solaris"
4987 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4990 aros_host_cpu
="i386"
4993 aros_host_cpu
="sparc"
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4997 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4998 aros_host_cpu
="$host_cpu"
5004 aros_host_arch
="morphos"
5010 aros_host_arch
="amiga"
5016 TOUCH
="/gg/bin/touch"
5019 aros_host_cpu
="m68k"
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5026 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5027 aros_host_cpu
="$host_cpu"
5033 aros_host_arch
="cygwin"
5034 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
5036 android_build_os
="windows"
5037 android_tool
="android.bat"
5038 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
5042 aros_host_cpu
="i386"
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5046 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5047 aros_host_cpu
="$host_cpu"
5053 aros_host_arch
="mingw32"
5054 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
5056 android_build_os
="windows"
5057 android_tool
="android.bat"
5058 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
5060 libpng_libextra
="-lws2_32"
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
5066 $as_echo_n "checking for Windows native gcc target... " >&6; }
5067 host_cpu
=`gcc -dumpmachine`
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
5069 $as_echo "$host_cpu" >&6; }
5076 aros_host_cpu
="i386"
5080 aros_host_cpu
="i386"
5084 aros_host_cpu
="x86_64"
5085 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5090 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5091 aros_host_cpu
="$host_cpu"
5096 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
5100 base_ar_name
=${HOST_TOOLCHAIN_PREFIX}ar${HOST_TOOLCHAIN_SUFFIX}
5101 # Extract the first word of "$base_ar_name", so it can be a program name with args.
5102 set dummy
$base_ar_name; ac_word
=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if ${ac_cv_prog_aros_host_cmd_ar+:} false
; then :
5106 $as_echo_n "(cached) " >&6
5108 if test -n "$aros_host_cmd_ar"; then
5109 ac_cv_prog_aros_host_cmd_ar
="$aros_host_cmd_ar" # Let the user override the test.
5111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir
=.
5116 for ac_exec_ext
in '' $ac_executable_extensions; do
5117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5118 ac_cv_prog_aros_host_cmd_ar
="$base_ar_name cr"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 aros_host_cmd_ar
=$ac_cv_prog_aros_host_cmd_ar
5129 if test -n "$aros_host_cmd_ar"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_cmd_ar" >&5
5131 $as_echo "$aros_host_cmd_ar" >&6; }
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5138 # Extract the first word of "$aros_host_cmd_ar", so it can be a program name with args.
5139 set dummy
$aros_host_cmd_ar; ac_word
=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if ${ac_cv_path_aros_host_full_ar+:} false
; then :
5143 $as_echo_n "(cached) " >&6
5145 case $aros_host_full_ar in
5147 ac_cv_path_aros_host_full_ar
="$aros_host_full_ar" # Let the user override the test with a path.
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_exec_ext
in '' $ac_executable_extensions; do
5156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_path_aros_host_full_ar
="$as_dir/$ac_word$ac_exec_ext"
5158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 test -z "$ac_cv_path_aros_host_full_ar" && ac_cv_path_aros_host_full_ar
="$aros_host_cmd_ar "
5169 aros_host_full_ar
=$ac_cv_path_aros_host_full_ar
5170 if test -n "$aros_host_full_ar"; then
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_full_ar" >&5
5172 $as_echo "$aros_host_full_ar" >&6; }
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5175 $as_echo "no" >&6; }
5179 aros_host_ar
=`echo $aros_host_cmd_ar | sed -e "s|$base_ar_name|$aros_host_full_ar|g"`
5181 if test "$aros_host_ar" = ""; then
5184 if test "$aros_host_ar" = "no"; then
5187 if test "$req_avail" = "no"; then
5188 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
5190 base_ranlib_name
=${HOST_TOOLCHAIN_PREFIX}ranlib
${HOST_TOOLCHAIN_SUFFIX}
5191 # Extract the first word of "$base_ranlib_name", so it can be a program name with args.
5192 set dummy
$base_ranlib_name; ac_word
=$2
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5194 $as_echo_n "checking for $ac_word... " >&6; }
5195 if ${ac_cv_path_aros_host_ranlib+:} false
; then :
5196 $as_echo_n "(cached) " >&6
5198 case $aros_host_ranlib in
5200 ac_cv_path_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test with a path.
5203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir
=.
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_path_aros_host_ranlib
="$as_dir/$ac_word$ac_exec_ext"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 test -z "$ac_cv_path_aros_host_ranlib" && ac_cv_path_aros_host_ranlib
="$base_ranlib_name "
5222 aros_host_ranlib
=$ac_cv_path_aros_host_ranlib
5223 if test -n "$aros_host_ranlib"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5225 $as_echo "$aros_host_ranlib" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5233 if test "$aros_host_ranlib" = ""; then
5236 if test "$aros_host_ranlib" = "no"; then
5239 if test "$req_avail" = "no"; then
5240 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5242 # Extract the first word of "strip", so it can be a program name with args.
5243 set dummy strip
; ac_word
=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5247 $as_echo_n "(cached) " >&6
5249 if test -n "$aros_host_strip"; then
5250 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir
=.
5257 for ac_exec_ext
in '' $ac_executable_extensions; do
5258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5259 ac_cv_prog_aros_host_strip
="strip "
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 aros_host_strip
=$ac_cv_prog_aros_host_strip
5270 if test -n "$aros_host_strip"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5272 $as_echo "$aros_host_strip" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5280 if test "$aros_host_strip" = ""; then
5283 if test "$aros_host_strip" = "no"; then
5286 if test "$req_avail" = "no"; then
5287 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5290 # Extract the first word of "rm", so it can be a program name with args.
5291 set dummy
rm; ac_word
=$2
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5293 $as_echo_n "checking for $ac_word... " >&6; }
5294 if ${ac_cv_prog_RM+:} false
; then :
5295 $as_echo_n "(cached) " >&6
5297 if test -n "$RM"; then
5298 ac_cv_prog_RM
="$RM" # Let the user override the test.
5300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5304 test -z "$as_dir" && as_dir
=.
5305 for ac_exec_ext
in '' $ac_executable_extensions; do
5306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5307 ac_cv_prog_RM
="rm -rf"
5308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 if test -n "$RM"; then
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5320 $as_echo "$RM" >&6; }
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323 $as_echo "no" >&6; }
5328 if test "$RM" = ""; then
5331 if test "$RM" = "no"; then
5334 if test "$req_avail" = "no"; then
5335 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5337 # Extract the first word of "cp", so it can be a program name with args.
5338 set dummy
cp; ac_word
=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if ${ac_cv_prog_CP+:} false
; then :
5342 $as_echo_n "(cached) " >&6
5344 if test -n "$CP"; then
5345 ac_cv_prog_CP
="$CP" # Let the user override the test.
5347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5351 test -z "$as_dir" && as_dir
=.
5352 for ac_exec_ext
in '' $ac_executable_extensions; do
5353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 if test -n "$CP"; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5367 $as_echo "$CP" >&6; }
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5375 if test "$CP" = ""; then
5378 if test "$CP" = "no"; then
5381 if test "$req_avail" = "no"; then
5382 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5384 # Extract the first word of "mv", so it can be a program name with args.
5385 set dummy
mv; ac_word
=$2
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5387 $as_echo_n "checking for $ac_word... " >&6; }
5388 if ${ac_cv_prog_MV+:} false
; then :
5389 $as_echo_n "(cached) " >&6
5391 if test -n "$MV"; then
5392 ac_cv_prog_MV
="$MV" # Let the user override the test.
5394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 test -z "$as_dir" && as_dir
=.
5399 for ac_exec_ext
in '' $ac_executable_extensions; do
5400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5412 if test -n "$MV"; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5414 $as_echo "$MV" >&6; }
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
5422 if test "$MV" = ""; then
5425 if test "$MV" = "no"; then
5428 if test "$req_avail" = "no"; then
5429 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5431 # Extract the first word of "echo", so it can be a program name with args.
5432 set dummy
echo; ac_word
=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_prog_ECHO+:} false
; then :
5436 $as_echo_n "(cached) " >&6
5438 if test -n "$ECHO"; then
5439 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5445 test -z "$as_dir" && as_dir
=.
5446 for ac_exec_ext
in '' $ac_executable_extensions; do
5447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5448 ac_cv_prog_ECHO
="echo "
5449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 ECHO
=$ac_cv_prog_ECHO
5459 if test -n "$ECHO"; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5461 $as_echo "$ECHO" >&6; }
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 $as_echo "no" >&6; }
5469 if test "$ECHO" = ""; then
5472 if test "$ECHO" = "no"; then
5475 if test "$req_avail" = "no"; then
5476 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5478 # Extract the first word of "mkdir", so it can be a program name with args.
5479 set dummy mkdir
; ac_word
=$2
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5481 $as_echo_n "checking for $ac_word... " >&6; }
5482 if ${ac_cv_prog_MKDIR+:} false
; then :
5483 $as_echo_n "(cached) " >&6
5485 if test -n "$MKDIR"; then
5486 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir
=.
5493 for ac_exec_ext
in '' $ac_executable_extensions; do
5494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_prog_MKDIR
="mkdir -p"
5496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5505 MKDIR
=$ac_cv_prog_MKDIR
5506 if test -n "$MKDIR"; then
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5508 $as_echo "$MKDIR" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5511 $as_echo "no" >&6; }
5516 if test "$MKDIR" = ""; then
5519 if test "$MKDIR" = "no"; then
5522 if test "$req_avail" = "no"; then
5523 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5525 # Extract the first word of "touch", so it can be a program name with args.
5526 set dummy
touch; ac_word
=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if ${ac_cv_prog_TOUCH+:} false
; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -n "$TOUCH"; then
5533 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5542 ac_cv_prog_TOUCH
="touch "
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 TOUCH
=$ac_cv_prog_TOUCH
5553 if test -n "$TOUCH"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5555 $as_echo "$TOUCH" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5563 if test "$TOUCH" = ""; then
5566 if test "$TOUCH" = "no"; then
5569 if test "$req_avail" = "no"; then
5570 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5572 # Extract the first word of "sort", so it can be a program name with args.
5573 set dummy
sort; ac_word
=$2
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5575 $as_echo_n "checking for $ac_word... " >&6; }
5576 if ${ac_cv_prog_SORT+:} false
; then :
5577 $as_echo_n "(cached) " >&6
5579 if test -n "$SORT"; then
5580 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5586 test -z "$as_dir" && as_dir
=.
5587 for ac_exec_ext
in '' $ac_executable_extensions; do
5588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5589 ac_cv_prog_SORT
="sort "
5590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599 SORT
=$ac_cv_prog_SORT
5600 if test -n "$SORT"; then
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5602 $as_echo "$SORT" >&6; }
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5605 $as_echo "no" >&6; }
5610 if test "$SORT" = ""; then
5613 if test "$SORT" = "no"; then
5616 if test "$req_avail" = "no"; then
5617 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5619 # Extract the first word of "uniq", so it can be a program name with args.
5620 set dummy
uniq; ac_word
=$2
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5622 $as_echo_n "checking for $ac_word... " >&6; }
5623 if ${ac_cv_prog_UNIQ+:} false
; then :
5624 $as_echo_n "(cached) " >&6
5626 if test -n "$UNIQ"; then
5627 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5633 test -z "$as_dir" && as_dir
=.
5634 for ac_exec_ext
in '' $ac_executable_extensions; do
5635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5636 ac_cv_prog_UNIQ
="uniq "
5637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 UNIQ
=$ac_cv_prog_UNIQ
5647 if test -n "$UNIQ"; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5649 $as_echo "$UNIQ" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }
5657 if test "$UNIQ" = ""; then
5660 if test "$UNIQ" = "no"; then
5663 if test "$req_avail" = "no"; then
5664 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5666 # Extract the first word of "true", so it can be a program name with args.
5667 set dummy true
; ac_word
=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if ${ac_cv_prog_NOP+:} false
; then :
5671 $as_echo_n "(cached) " >&6
5673 if test -n "$NOP"; then
5674 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5680 test -z "$as_dir" && as_dir
=.
5681 for ac_exec_ext
in '' $ac_executable_extensions; do
5682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_NOP
="true "
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 if test -n "$NOP"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5696 $as_echo "$NOP" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5704 if test "$NOP" = ""; then
5707 if test "$NOP" = "no"; then
5710 if test "$req_avail" = "no"; then
5711 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5713 # Extract the first word of "cat", so it can be a program name with args.
5714 set dummy
cat; ac_word
=$2
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5716 $as_echo_n "checking for $ac_word... " >&6; }
5717 if ${ac_cv_prog_CAT+:} false
; then :
5718 $as_echo_n "(cached) " >&6
5720 if test -n "$CAT"; then
5721 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5727 test -z "$as_dir" && as_dir
=.
5728 for ac_exec_ext
in '' $ac_executable_extensions; do
5729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5730 ac_cv_prog_CAT
="cat "
5731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 if test -n "$CAT"; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5743 $as_echo "$CAT" >&6; }
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5751 if test "$CAT" = ""; then
5754 if test "$CAT" = "no"; then
5757 if test "$req_avail" = "no"; then
5758 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5760 # Extract the first word of "bison", so it can be a program name with args.
5761 set dummy bison
; ac_word
=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_BISON+:} false
; then :
5765 $as_echo_n "(cached) " >&6
5767 if test -n "$BISON"; then
5768 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir
=.
5775 for ac_exec_ext
in '' $ac_executable_extensions; do
5776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_BISON
="bison "
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 BISON
=$ac_cv_prog_BISON
5788 if test -n "$BISON"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5790 $as_echo "$BISON" >&6; }
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5798 if test "$BISON" = ""; then
5801 if test "$BISON" = "no"; then
5804 if test "$req_avail" = "no"; then
5805 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5807 # Extract the first word of "flex", so it can be a program name with args.
5808 set dummy flex
; ac_word
=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if ${ac_cv_prog_FLEX+:} false
; then :
5812 $as_echo_n "(cached) " >&6
5814 if test -n "$FLEX"; then
5815 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5821 test -z "$as_dir" && as_dir
=.
5822 for ac_exec_ext
in '' $ac_executable_extensions; do
5823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5824 ac_cv_prog_FLEX
="flex "
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 FLEX
=$ac_cv_prog_FLEX
5835 if test -n "$FLEX"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5837 $as_echo "$FLEX" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5845 if test "$FLEX" = ""; then
5848 if test "$FLEX" = "no"; then
5851 if test "$req_avail" = "no"; then
5852 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $FLEX" >&5
5855 $as_echo_n "checking version of $FLEX... " >&6; }
5856 ax_cv_flex_version
="`$FLEX --version | cut -d\" \" -f2`"
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_flex_version" >&5
5858 $as_echo "$ax_cv_flex_version" >&6; }
5859 # Extract the first word of "pngtopnm", so it can be a program name with args.
5860 set dummy pngtopnm
; ac_word
=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5864 $as_echo_n "(cached) " >&6
5866 if test -n "$PNGTOPNM"; then
5867 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5873 test -z "$as_dir" && as_dir
=.
5874 for ac_exec_ext
in '' $ac_executable_extensions; do
5875 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5876 ac_cv_prog_PNGTOPNM
="pngtopnm "
5877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5887 if test -n "$PNGTOPNM"; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5889 $as_echo "$PNGTOPNM" >&6; }
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5897 if test "$PNGTOPNM" = ""; then
5900 if test "$PNGTOPNM" = "no"; then
5903 if test "$req_avail" = "no"; then
5904 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5906 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5907 set dummy ppmtoilbm
; ac_word
=$2
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5909 $as_echo_n "checking for $ac_word... " >&6; }
5910 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5911 $as_echo_n "(cached) " >&6
5913 if test -n "$PPMTOILBM"; then
5914 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir
=.
5921 for ac_exec_ext
in '' $ac_executable_extensions; do
5922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5923 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5934 if test -n "$PPMTOILBM"; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5936 $as_echo "$PPMTOILBM" >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 $as_echo "no" >&6; }
5944 if test "$PPMTOILBM" = ""; then
5947 if test "$PPMTOILBM" = "no"; then
5950 if test "$req_avail" = "no"; then
5951 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5953 # Extract the first word of "sed", so it can be a program name with args.
5954 set dummy
sed; ac_word
=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_SED+:} false
; then :
5958 $as_echo_n "(cached) " >&6
5960 if test -n "$SED"; then
5961 ac_cv_prog_SED
="$SED" # Let the user override the test.
5963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5967 test -z "$as_dir" && as_dir
=.
5968 for ac_exec_ext
in '' $ac_executable_extensions; do
5969 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_SED
="sed "
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 if test -n "$SED"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5983 $as_echo "$SED" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5991 if test "$SED" = ""; then
5994 if test "$SED" = "no"; then
5997 if test "$req_avail" = "no"; then
5998 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
6000 # Extract the first word of "chmod", so it can be a program name with args.
6001 set dummy
chmod; ac_word
=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_CHMOD+:} false
; then :
6005 $as_echo_n "(cached) " >&6
6007 if test -n "$CHMOD"; then
6008 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
6010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir
=.
6015 for ac_exec_ext
in '' $ac_executable_extensions; do
6016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_CHMOD
="chmod "
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 CHMOD
=$ac_cv_prog_CHMOD
6028 if test -n "$CHMOD"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
6030 $as_echo "$CHMOD" >&6; }
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6038 if test "$CHMOD" = ""; then
6041 if test "$CHMOD" = "no"; then
6044 if test "$req_avail" = "no"; then
6045 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
6047 # Extract the first word of "patch", so it can be a program name with args.
6048 set dummy
patch; ac_word
=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_PATCH+:} false
; then :
6052 $as_echo_n "(cached) " >&6
6054 if test -n "$PATCH"; then
6055 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
6057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir
=.
6062 for ac_exec_ext
in '' $ac_executable_extensions; do
6063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_PATCH
="patch "
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 PATCH
=$ac_cv_prog_PATCH
6075 if test -n "$PATCH"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
6077 $as_echo "$PATCH" >&6; }
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6085 if test "$PATCH" = ""; then
6088 if test "$PATCH" = "no"; then
6091 if test "$req_avail" = "no"; then
6092 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
6101 if test -n "$PYTHON"; then
6102 # If the user set $PYTHON, use it and don't search something else.
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
6104 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
6106 # split strings by '.' and convert to numeric. Append some zeros
6107 # because we need at least 4 digits for the hex conversion.
6108 # map returns an iterator in Python 3.0 and a list in 2.x
6109 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6111 # xrange is not present in Python 3.0 and range returns an iterator
6112 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6113 sys.exit(sys.hexversion < minverhex)"
6114 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
6115 ($PYTHON -c "$prog") >&5 2>&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); }; then :
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6120 $as_echo "yes" >&6; }
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6124 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
6126 am_display_PYTHON
=$PYTHON
6128 # Otherwise, try each interpreter until we find one that satisfies
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
6131 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
6132 if ${am_cv_pathless_PYTHON+:} false
; then :
6133 $as_echo_n "(cached) " >&6
6136 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
6137 test "$am_cv_pathless_PYTHON" = none
&& break
6139 # split strings by '.' and convert to numeric. Append some zeros
6140 # because we need at least 4 digits for the hex conversion.
6141 # map returns an iterator in Python 3.0 and a list in 2.x
6142 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6144 # xrange is not present in Python 3.0 and range returns an iterator
6145 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6146 sys.exit(sys.hexversion < minverhex)"
6147 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
6148 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); }; then :
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
6157 $as_echo "$am_cv_pathless_PYTHON" >&6; }
6158 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
6159 if test "$am_cv_pathless_PYTHON" = none
; then
6162 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
6163 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_path_PYTHON+:} false
; then :
6167 $as_echo_n "(cached) " >&6
6171 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
6174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6178 test -z "$as_dir" && as_dir
=.
6179 for ac_exec_ext
in '' $ac_executable_extensions; do
6180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6181 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6192 PYTHON
=$ac_cv_path_PYTHON
6193 if test -n "$PYTHON"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
6195 $as_echo "$PYTHON" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6203 am_display_PYTHON
=$am_cv_pathless_PYTHON
6207 if test "$PYTHON" = :; then
6208 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
6213 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6214 if ${am_cv_python_version+:} false
; then :
6215 $as_echo_n "(cached) " >&6
6217 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
6220 $as_echo "$am_cv_python_version" >&6; }
6221 PYTHON_VERSION
=$am_cv_python_version
6225 PYTHON_PREFIX
='${prefix}'
6227 PYTHON_EXEC_PREFIX
='${exec_prefix}'
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
6232 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6233 if ${am_cv_python_platform+:} false
; then :
6234 $as_echo_n "(cached) " >&6
6236 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
6239 $as_echo "$am_cv_python_platform" >&6; }
6240 PYTHON_PLATFORM
=$am_cv_python_platform
6243 # Just factor out some code duplication.
6244 am_python_setup_sysconfig
="\
6246 # Prefer sysconfig over distutils.sysconfig, for better compatibility
6247 # with python 3.x. See automake bug#10227.
6251 can_use_sysconfig = 0
6253 can_use_sysconfig = 1
6254 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
6255 # <https://github.com/pypa/virtualenv/issues/118>
6257 from platform import python_implementation
6258 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6259 can_use_sysconfig = 0
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6265 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6266 if ${am_cv_python_pythondir+:} false
; then :
6267 $as_echo_n "(cached) " >&6
6269 if test "x$prefix" = xNONE
6271 am_py_prefix
=$ac_default_prefix
6273 am_py_prefix
=$prefix
6275 am_cv_python_pythondir
=`$PYTHON -c "
6276 $am_python_setup_sysconfig
6277 if can_use_sysconfig:
6278 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6280 from distutils import sysconfig
6281 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6282 sys.stdout.write(sitedir)"`
6283 case $am_cv_python_pythondir in
6285 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6286 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6289 case $am_py_prefix in
6292 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6300 $as_echo "$am_cv_python_pythondir" >&6; }
6301 pythondir
=$am_cv_python_pythondir
6305 pkgpythondir
=\
${pythondir}/$PACKAGE
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6309 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6310 if ${am_cv_python_pyexecdir+:} false
; then :
6311 $as_echo_n "(cached) " >&6
6313 if test "x$exec_prefix" = xNONE
6315 am_py_exec_prefix
=$am_py_prefix
6317 am_py_exec_prefix
=$exec_prefix
6319 am_cv_python_pyexecdir
=`$PYTHON -c "
6320 $am_python_setup_sysconfig
6321 if can_use_sysconfig:
6322 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6324 from distutils import sysconfig
6325 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6326 sys.stdout.write(sitedir)"`
6327 case $am_cv_python_pyexecdir in
6328 $am_py_exec_prefix*)
6329 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6330 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6333 case $am_py_exec_prefix in
6336 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6344 $as_echo "$am_cv_python_pyexecdir" >&6; }
6345 pyexecdir
=$am_cv_python_pyexecdir
6349 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6357 # Check whether --enable-libpng-config was given.
6358 if test "${enable_libpng_config+set}" = set; then :
6359 enableval
=$enable_libpng_config;
6362 if test "$enable_libpng_config" != "no"; then
6363 # Extract the first word of "libpng-config", so it can be a program name with args.
6364 set dummy libpng-config
; ac_word
=$2
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366 $as_echo_n "checking for $ac_word... " >&6; }
6367 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6368 $as_echo_n "(cached) " >&6
6370 if test -n "$arosconfig_use_libpngconfig"; then
6371 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6377 test -z "$as_dir" && as_dir
=.
6378 for ac_exec_ext
in '' $ac_executable_extensions; do
6379 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6380 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6391 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6392 if test -n "$arosconfig_use_libpngconfig"; then
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6394 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397 $as_echo "no" >&6; }
6402 if test "$arosconfig_use_libpngconfig" = "yes"; then
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6404 $as_echo_n "checking libpng-config library... " >&6; }
6405 libpng_incdir
="`libpng-config --cflags`"
6406 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6407 libpng
="`libpng-config --libs`"
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6409 $as_echo "$libpng" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6413 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6414 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6415 $as_echo_n "(cached) " >&6
6417 ac_check_lib_save_LIBS
=$LIBS
6419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6420 /* end confdefs.h. */
6422 /* Override any GCC internal prototype to avoid an error.
6423 Use char because int might match the return type of a GCC
6424 builtin and then its argument prototype would still apply. */
6428 char png_read_png ();
6432 return png_read_png ();
6437 if ac_fn_c_try_link
"$LINENO"; then :
6438 ac_cv_lib_png_png_read_png
=yes
6440 ac_cv_lib_png_png_read_png
=no
6442 rm -f core conftest.err conftest.
$ac_objext \
6443 conftest
$ac_exeext conftest.
$ac_ext
6444 LIBS
=$ac_check_lib_save_LIBS
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6447 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6448 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6454 if test "$libpng_libextra" != ""; then
6455 if test "$libpng" != "no"; then
6456 libpng_libextra
="$libpng_libextra $libpng"
6461 if test "$libpng" = ""; then
6464 if test "$libpng" = "no"; then
6467 if test "$req_avail" = "no"; then
6468 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6484 # Check for some includes for the X11 HIDD and the kernel
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6487 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6488 if ${ac_cv_path_GREP+:} false
; then :
6489 $as_echo_n "(cached) " >&6
6491 if test -z "$GREP"; then
6492 ac_path_GREP_found
=false
6493 # Loop through the user's path and test for each of PROGNAME-LIST
6494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6495 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6498 test -z "$as_dir" && as_dir
=.
6499 for ac_prog
in grep ggrep
; do
6500 for ac_exec_ext
in '' $ac_executable_extensions; do
6501 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6502 as_fn_executable_p
"$ac_path_GREP" ||
continue
6503 # Check for GNU ac_path_GREP and select it if it is found.
6504 # Check for GNU $ac_path_GREP
6505 case `"$ac_path_GREP" --version 2>&1` in
6507 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6510 $as_echo_n 0123456789 >"conftest.in"
6513 cat "conftest.in" "conftest.in" >"conftest.tmp"
6514 mv "conftest.tmp" "conftest.in"
6515 cp "conftest.in" "conftest.nl"
6516 $as_echo 'GREP' >> "conftest.nl"
6517 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6518 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6519 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6520 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6521 # Best one so far, save it but keep looking for a better one
6522 ac_cv_path_GREP
="$ac_path_GREP"
6523 ac_path_GREP_max
=$ac_count
6525 # 10*(2^10) chars as input seems more than enough
6526 test $ac_count -gt 10 && break
6528 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6531 $ac_path_GREP_found && break 3
6536 if test -z "$ac_cv_path_GREP"; then
6537 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6540 ac_cv_path_GREP
=$GREP
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6545 $as_echo "$ac_cv_path_GREP" >&6; }
6546 GREP
="$ac_cv_path_GREP"
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6550 $as_echo_n "checking for egrep... " >&6; }
6551 if ${ac_cv_path_EGREP+:} false
; then :
6552 $as_echo_n "(cached) " >&6
6554 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6555 then ac_cv_path_EGREP
="$GREP -E"
6557 if test -z "$EGREP"; then
6558 ac_path_EGREP_found
=false
6559 # Loop through the user's path and test for each of PROGNAME-LIST
6560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6561 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6564 test -z "$as_dir" && as_dir
=.
6565 for ac_prog
in egrep; do
6566 for ac_exec_ext
in '' $ac_executable_extensions; do
6567 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6568 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6569 # Check for GNU ac_path_EGREP and select it if it is found.
6570 # Check for GNU $ac_path_EGREP
6571 case `"$ac_path_EGREP" --version 2>&1` in
6573 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6576 $as_echo_n 0123456789 >"conftest.in"
6579 cat "conftest.in" "conftest.in" >"conftest.tmp"
6580 mv "conftest.tmp" "conftest.in"
6581 cp "conftest.in" "conftest.nl"
6582 $as_echo 'EGREP' >> "conftest.nl"
6583 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6584 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6585 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6586 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6587 # Best one so far, save it but keep looking for a better one
6588 ac_cv_path_EGREP
="$ac_path_EGREP"
6589 ac_path_EGREP_max
=$ac_count
6591 # 10*(2^10) chars as input seems more than enough
6592 test $ac_count -gt 10 && break
6594 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6597 $ac_path_EGREP_found && break 3
6602 if test -z "$ac_cv_path_EGREP"; then
6603 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6606 ac_cv_path_EGREP
=$EGREP
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6612 $as_echo "$ac_cv_path_EGREP" >&6; }
6613 EGREP
="$ac_cv_path_EGREP"
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6617 $as_echo_n "checking for ANSI C header files... " >&6; }
6618 if ${ac_cv_header_stdc+:} false
; then :
6619 $as_echo_n "(cached) " >&6
6621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6636 if ac_fn_c_try_compile
"$LINENO"; then :
6637 ac_cv_header_stdc
=yes
6639 ac_cv_header_stdc
=no
6641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6643 if test $ac_cv_header_stdc = yes; then
6644 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6651 $EGREP "memchr" >/dev
/null
2>&1; then :
6654 ac_cv_header_stdc
=no
6660 if test $ac_cv_header_stdc = yes; then
6661 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6663 /* end confdefs.h. */
6667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6668 $EGREP "free" >/dev
/null
2>&1; then :
6671 ac_cv_header_stdc
=no
6677 if test $ac_cv_header_stdc = yes; then
6678 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6679 if test "$cross_compiling" = yes; then :
6682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6686 #if ((' ' & 0x0FF) == 0x020)
6687 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6688 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6690 # define ISLOWER(c) \
6691 (('a' <= (c) && (c) <= 'i') \
6692 || ('j' <= (c) && (c) <= 'r') \
6693 || ('s' <= (c) && (c) <= 'z'))
6694 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6697 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6702 for (i = 0; i < 256; i++)
6703 if (XOR (islower (i), ISLOWER (i))
6704 || toupper (i) != TOUPPER (i))
6709 if ac_fn_c_try_run
"$LINENO"; then :
6712 ac_cv_header_stdc
=no
6714 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6715 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6721 $as_echo "$ac_cv_header_stdc" >&6; }
6722 if test $ac_cv_header_stdc = yes; then
6724 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6728 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6729 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6730 inttypes.h stdint.h unistd.h
6732 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6733 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6735 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6736 cat >>confdefs.h
<<_ACEOF
6737 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6745 for ac_header
in sys
/ipc.h sys
/shm.h \
6746 sys
/mmap.h sys
/mman.h sysexits.h \
6747 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6750 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6751 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6752 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6753 cat >>confdefs.h
<<_ACEOF
6754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6762 for ac_header
in sys
/mount.h
6764 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6766 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6767 cat >>confdefs.h
<<_ACEOF
6768 #define HAVE_SYS_MOUNT_H 1
6775 for ac_header
in GL
/glx.h
6777 ac_fn_c_check_header_mongrel
"$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
6778 if test "x$ac_cv_header_GL_glx_h" = xyes
; then :
6779 cat >>confdefs.h
<<_ACEOF
6780 #define HAVE_GL_GLX_H 1
6782 host_feature_glx
=yes
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __unused conflicts with sys/stat.h" >&5
6791 $as_echo_n "checking if __unused conflicts with sys/stat.h... " >&6; }
6792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6793 /* end confdefs.h. */
6795 #define __unused __attribute__((unused))
6796 #include <sys/stat.h>
6806 if ac_fn_c_try_compile
"$LINENO"; then :
6807 host_stat_h__unused_used
=no
6809 host_stat_h__unused_used
=yes
6811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_stat_h__unused_used" >&5
6813 $as_echo "$host_stat_h__unused_used" >&6; }
6816 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6817 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6819 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6820 if eval \
${$as_ac_Header+:} false
; then :
6821 $as_echo_n "(cached) " >&6
6823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6824 /* end confdefs.h. */
6825 #include <sys/types.h>
6837 if ac_fn_c_try_compile
"$LINENO"; then :
6838 eval "$as_ac_Header=yes"
6840 eval "$as_ac_Header=no"
6842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6844 eval ac_res
=\$
$as_ac_Header
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6846 $as_echo "$ac_res" >&6; }
6847 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6848 cat >>confdefs.h
<<_ACEOF
6849 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6852 ac_header_dirent
=$ac_hdr; break
6856 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6857 if test $ac_header_dirent = dirent.h
; then
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6859 $as_echo_n "checking for library containing opendir... " >&6; }
6860 if ${ac_cv_search_opendir+:} false
; then :
6861 $as_echo_n "(cached) " >&6
6863 ac_func_search_save_LIBS
=$LIBS
6864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6865 /* end confdefs.h. */
6867 /* Override any GCC internal prototype to avoid an error.
6868 Use char because int might match the return type of a GCC
6869 builtin and then its argument prototype would still apply. */
6882 for ac_lib
in '' dir
; do
6883 if test -z "$ac_lib"; then
6884 ac_res
="none required"
6887 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6889 if ac_fn_c_try_link
"$LINENO"; then :
6890 ac_cv_search_opendir
=$ac_res
6892 rm -f core conftest.err conftest.
$ac_objext \
6894 if ${ac_cv_search_opendir+:} false
; then :
6898 if ${ac_cv_search_opendir+:} false
; then :
6901 ac_cv_search_opendir
=no
6904 LIBS
=$ac_func_search_save_LIBS
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6907 $as_echo "$ac_cv_search_opendir" >&6; }
6908 ac_res
=$ac_cv_search_opendir
6909 if test "$ac_res" != no
; then :
6910 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6916 $as_echo_n "checking for library containing opendir... " >&6; }
6917 if ${ac_cv_search_opendir+:} false
; then :
6918 $as_echo_n "(cached) " >&6
6920 ac_func_search_save_LIBS
=$LIBS
6921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6922 /* end confdefs.h. */
6924 /* Override any GCC internal prototype to avoid an error.
6925 Use char because int might match the return type of a GCC
6926 builtin and then its argument prototype would still apply. */
6939 for ac_lib
in '' x
; do
6940 if test -z "$ac_lib"; then
6941 ac_res
="none required"
6944 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6946 if ac_fn_c_try_link
"$LINENO"; then :
6947 ac_cv_search_opendir
=$ac_res
6949 rm -f core conftest.err conftest.
$ac_objext \
6951 if ${ac_cv_search_opendir+:} false
; then :
6955 if ${ac_cv_search_opendir+:} false
; then :
6958 ac_cv_search_opendir
=no
6961 LIBS
=$ac_func_search_save_LIBS
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6964 $as_echo "$ac_cv_search_opendir" >&6; }
6965 ac_res
=$ac_cv_search_opendir
6966 if test "$ac_res" != no
; then :
6967 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6974 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6975 if ${ac_cv_header_stat_broken+:} false
; then :
6976 $as_echo_n "(cached) " >&6
6978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6979 /* end confdefs.h. */
6980 #include <sys/types.h>
6981 #include <sys/stat.h>
6983 #if defined S_ISBLK && defined S_IFDIR
6984 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6987 #if defined S_ISBLK && defined S_IFCHR
6988 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6991 #if defined S_ISLNK && defined S_IFREG
6992 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6995 #if defined S_ISSOCK && defined S_IFREG
6996 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7000 if ac_fn_c_try_compile
"$LINENO"; then :
7001 ac_cv_header_stat_broken
=no
7003 ac_cv_header_stat_broken
=yes
7005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7008 $as_echo "$ac_cv_header_stat_broken" >&6; }
7009 if test $ac_cv_header_stat_broken = yes; then
7011 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7016 $as_echo_n "checking for ANSI C header files... " >&6; }
7017 if ${ac_cv_header_stdc+:} false
; then :
7018 $as_echo_n "(cached) " >&6
7020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7035 if ac_fn_c_try_compile
"$LINENO"; then :
7036 ac_cv_header_stdc
=yes
7038 ac_cv_header_stdc
=no
7040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7042 if test $ac_cv_header_stdc = yes; then
7043 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7050 $EGREP "memchr" >/dev
/null
2>&1; then :
7053 ac_cv_header_stdc
=no
7059 if test $ac_cv_header_stdc = yes; then
7060 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7062 /* end confdefs.h. */
7066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7067 $EGREP "free" >/dev
/null
2>&1; then :
7070 ac_cv_header_stdc
=no
7076 if test $ac_cv_header_stdc = yes; then
7077 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7078 if test "$cross_compiling" = yes; then :
7081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7082 /* end confdefs.h. */
7085 #if ((' ' & 0x0FF) == 0x020)
7086 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7087 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7089 # define ISLOWER(c) \
7090 (('a' <= (c) && (c) <= 'i') \
7091 || ('j' <= (c) && (c) <= 'r') \
7092 || ('s' <= (c) && (c) <= 'z'))
7093 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7096 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7101 for (i = 0; i < 256; i++)
7102 if (XOR (islower (i), ISLOWER (i))
7103 || toupper (i) != TOUPPER (i))
7108 if ac_fn_c_try_run
"$LINENO"; then :
7111 ac_cv_header_stdc
=no
7113 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7114 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7120 $as_echo "$ac_cv_header_stdc" >&6; }
7121 if test $ac_cv_header_stdc = yes; then
7123 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
7128 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7129 if ${ac_cv_header_sys_wait_h+:} false
; then :
7130 $as_echo_n "(cached) " >&6
7132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7133 /* end confdefs.h. */
7134 #include <sys/types.h>
7135 #include <sys/wait.h>
7137 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7140 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7148 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7153 if ac_fn_c_try_compile
"$LINENO"; then :
7154 ac_cv_header_sys_wait_h
=yes
7156 ac_cv_header_sys_wait_h
=no
7158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
7161 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
7162 if test $ac_cv_header_sys_wait_h = yes; then
7164 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7169 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7170 if ${ac_cv_header_time+:} false
; then :
7171 $as_echo_n "(cached) " >&6
7173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7174 /* end confdefs.h. */
7175 #include <sys/types.h>
7176 #include <sys/time.h>
7182 if ((struct tm *) 0)
7188 if ac_fn_c_try_compile
"$LINENO"; then :
7189 ac_cv_header_time
=yes
7191 ac_cv_header_time
=no
7193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7196 $as_echo "$ac_cv_header_time" >&6; }
7197 if test $ac_cv_header_time = yes; then
7199 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7203 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
7204 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
7206 cat >>confdefs.h
<<_ACEOF
7207 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7211 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7216 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7217 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7219 cat >>confdefs.h
<<_ACEOF
7220 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7224 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7227 case " $LIBOBJS " in
7228 *" fileblocks.$ac_objext "* ) ;;
7229 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7236 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7237 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7239 cat >>confdefs.h
<<_ACEOF
7240 #define HAVE_STRUCT_STAT_ST_RDEV 1
7244 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7250 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7251 if ${ac_cv_struct_tm+:} false
; then :
7252 $as_echo_n "(cached) " >&6
7254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7256 #include <sys/types.h>
7263 int *p = &tm.tm_sec;
7269 if ac_fn_c_try_compile
"$LINENO"; then :
7270 ac_cv_struct_tm
=time.h
7272 ac_cv_struct_tm
=sys
/time.h
7274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7277 $as_echo "$ac_cv_struct_tm" >&6; }
7278 if test $ac_cv_struct_tm = sys
/time.h
; then
7280 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7284 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7285 #include <$ac_cv_struct_tm>
7288 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7290 cat >>confdefs.h
<<_ACEOF
7291 #define HAVE_STRUCT_TM_TM_ZONE 1
7297 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7299 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7302 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7304 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7310 cat >>confdefs.h
<<_ACEOF
7311 #define HAVE_DECL_TZNAME $ac_have_decl
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7315 $as_echo_n "checking for tzname... " >&6; }
7316 if ${ac_cv_var_tzname+:} false
; then :
7317 $as_echo_n "(cached) " >&6
7319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7320 /* end confdefs.h. */
7322 #if !HAVE_DECL_TZNAME
7323 extern char *tzname[];
7329 return tzname[0][0];
7334 if ac_fn_c_try_link
"$LINENO"; then :
7335 ac_cv_var_tzname
=yes
7339 rm -f core conftest.err conftest.
$ac_objext \
7340 conftest
$ac_exeext conftest.
$ac_ext
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7343 $as_echo "$ac_cv_var_tzname" >&6; }
7344 if test $ac_cv_var_tzname = yes; then
7346 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7351 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7352 if test "x$ac_cv_type_off_t" = xyes
; then :
7356 cat >>confdefs.h
<<_ACEOF
7357 #define off_t long int
7362 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7363 if test "x$ac_cv_type_pid_t" = xyes
; then :
7367 cat >>confdefs.h
<<_ACEOF
7373 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7374 if test "x$ac_cv_type_size_t" = xyes
; then :
7378 cat >>confdefs.h
<<_ACEOF
7379 #define size_t unsigned int
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7385 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7386 if ${ac_cv_type_uid_t+:} false
; then :
7387 $as_echo_n "(cached) " >&6
7389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7390 /* end confdefs.h. */
7391 #include <sys/types.h>
7394 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7395 $EGREP "uid_t" >/dev
/null
2>&1; then :
7396 ac_cv_type_uid_t
=yes
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7404 $as_echo "$ac_cv_type_uid_t" >&6; }
7405 if test $ac_cv_type_uid_t = no
; then
7407 $as_echo "#define uid_t int" >>confdefs.h
7410 $as_echo "#define gid_t int" >>confdefs.h
7415 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7416 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7418 cat >>confdefs.h
<<_ACEOF
7419 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7426 # Look for some functions
7427 for ac_func
in getpagesize kqueue statfs statvfs \
7428 clone kse_create rfork_thread thr_create sa_register \
7429 getcontext makecontext setcontext sigaltstack swapcontext
7431 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7432 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7433 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7434 cat >>confdefs.h
<<_ACEOF
7435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7445 for ac_header
in $ac_header_list
7447 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7448 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7450 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7451 cat >>confdefs.h
<<_ACEOF
7452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7466 for ac_func
in getpagesize
7468 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7469 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7470 cat >>confdefs.h
<<_ACEOF
7471 #define HAVE_GETPAGESIZE 1
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7478 $as_echo_n "checking for working mmap... " >&6; }
7479 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7480 $as_echo_n "(cached) " >&6
7482 if test "$cross_compiling" = yes; then :
7483 ac_cv_func_mmap_fixed_mapped
=no
7485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7486 /* end confdefs.h. */
7487 $ac_includes_default
7488 /* malloc might have been renamed as rpl_malloc. */
7491 /* Thanks to Mike Haertel and Jim Avera for this test.
7492 Here is a matrix of mmap possibilities:
7493 mmap private not fixed
7494 mmap private fixed at somewhere currently unmapped
7495 mmap private fixed at somewhere already mapped
7496 mmap shared not fixed
7497 mmap shared fixed at somewhere currently unmapped
7498 mmap shared fixed at somewhere already mapped
7499 For private mappings, we should verify that changes cannot be read()
7500 back from the file, nor mmap's back from the file at a different
7501 address. (There have been systems where private was not correctly
7502 implemented like the infamous i386 svr4.0, and systems where the
7503 VM page cache was not coherent with the file system buffer cache
7504 like early versions of FreeBSD and possibly contemporary NetBSD.)
7505 For shared mappings, we should conversely verify that changes get
7506 propagated back to all the places they're supposed to be.
7508 Grep wants private fixed already mapped.
7509 The main things grep needs to know about mmap are:
7510 * does it exist and is it safe to write into the mmap'd area
7511 * how to use it (BSD variants) */
7514 #include <sys/mman.h>
7516 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7520 /* This mess was copied from the GNU getpagesize.h. */
7521 #ifndef HAVE_GETPAGESIZE
7522 # ifdef _SC_PAGESIZE
7523 # define getpagesize() sysconf(_SC_PAGESIZE)
7524 # else /* no _SC_PAGESIZE */
7525 # ifdef HAVE_SYS_PARAM_H
7526 # include <sys/param.h>
7527 # ifdef EXEC_PAGESIZE
7528 # define getpagesize() EXEC_PAGESIZE
7529 # else /* no EXEC_PAGESIZE */
7531 # define getpagesize() NBPG * CLSIZE
7534 # endif /* no CLSIZE */
7535 # else /* no NBPG */
7537 # define getpagesize() NBPC
7538 # else /* no NBPC */
7540 # define getpagesize() PAGESIZE
7541 # endif /* PAGESIZE */
7542 # endif /* no NBPC */
7543 # endif /* no NBPG */
7544 # endif /* no EXEC_PAGESIZE */
7545 # else /* no HAVE_SYS_PARAM_H */
7546 # define getpagesize() 8192 /* punt totally */
7547 # endif /* no HAVE_SYS_PARAM_H */
7548 # endif /* no _SC_PAGESIZE */
7550 #endif /* no HAVE_GETPAGESIZE */
7555 char *data, *data2, *data3;
7560 pagesize = getpagesize ();
7562 /* First, make a file with some known garbage in it. */
7563 data = (char *) malloc (pagesize);
7566 for (i = 0; i < pagesize; ++i)
7567 *(data + i) = rand ();
7569 fd = creat ("conftest.mmap", 0600);
7572 if (write (fd, data, pagesize) != pagesize)
7576 /* Next, check that the tail of a page is zero-filled. File must have
7577 non-zero length, otherwise we risk SIGBUS for entire page. */
7578 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7582 if (write (fd2, cdata2, 1) != 1)
7584 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7585 if (data2 == MAP_FAILED)
7587 for (i = 0; i < pagesize; ++i)
7591 if (munmap (data2, pagesize))
7594 /* Next, try to mmap the file at a fixed address which already has
7595 something else allocated at it. If we can, also make sure that
7596 we see the same garbage. */
7597 fd = open ("conftest.mmap", O_RDWR);
7600 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7601 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7603 for (i = 0; i < pagesize; ++i)
7604 if (*(data + i) != *(data2 + i))
7607 /* Finally, make sure that changes to the mapped area do not
7608 percolate back to the file as seen by read(). (This is a bug on
7609 some variants of i386 svr4.0.) */
7610 for (i = 0; i < pagesize; ++i)
7611 *(data2 + i) = *(data2 + i) + 1;
7612 data3 = (char *) malloc (pagesize);
7615 if (read (fd, data3, pagesize) != pagesize)
7617 for (i = 0; i < pagesize; ++i)
7618 if (*(data + i) != *(data3 + i))
7626 if ac_fn_c_try_run
"$LINENO"; then :
7627 ac_cv_func_mmap_fixed_mapped
=yes
7629 ac_cv_func_mmap_fixed_mapped
=no
7631 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7632 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7637 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7638 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7640 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7643 rm -f conftest.mmap conftest.txt
7646 #-----------------------------------------------------------------------------
7649 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7650 # it switched on by default, and we use the host compiler, so it compiles AROS
7651 # code with this enabled resulting in link failures as we don't have support
7654 # We use two methods to disable it. For the host compiler (used to compile
7655 # some hosted modules), we test to see if the compiler supports stack
7656 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7657 # work on all platforms.
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7661 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7662 save_cflags
="$CFLAGS"
7663 CFLAGS
="$CFLAGS -fno-stack-protector"
7664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7665 /* end confdefs.h. */
7675 if ac_fn_c_try_compile
"$LINENO"; then :
7676 use_no_stack_protector
="yes"
7678 use_no_stack_protector
="no"
7680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7682 $as_echo "$use_no_stack_protector" >&6; }
7683 if test "x-$use_no_stack_protector" = "x-yes" ; then
7684 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7686 CFLAGS
="$save_cflags"
7688 #-----------------------------------------------------------------------------
7690 # Disable pointer-signedness warnings if the compiler recognises the option
7691 # (this only works for the host compiler at the moment)
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7694 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7695 save_cflags
="$CFLAGS"
7696 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7708 if ac_fn_c_try_compile
"$LINENO"; then :
7709 use_no_sign_warning
="yes"
7711 use_no_sign_warning
="no"
7713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7715 $as_echo "$use_no_sign_warning" >&6; }
7716 if test "x-$use_no_sign_warning" = "x-yes" ; then
7717 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7719 CFLAGS
="$save_cflags"
7721 #-----------------------------------------------------------------------------
7723 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7726 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7727 save_cflags
="$CFLAGS"
7728 CFLAGS
="$CFLAGS -fgnu89-inline"
7729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7730 /* end confdefs.h. */
7740 if ac_fn_c_try_compile
"$LINENO"; then :
7741 use_gnu89_inline
="yes"
7743 use_gnu89_inline
="no"
7745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7747 $as_echo "$use_gnu89_inline" >&6; }
7748 if test "x-$use_gnu89_inline" = "x-yes" ; then
7749 gnu89_inline
="-fgnu89-inline"
7751 CFLAGS
="$save_cflags"
7754 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7755 # On GCC >= 4.0 -iquote should be used
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7758 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7759 CFLAGS
="$CFLAGS -iquote."
7760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7761 /* end confdefs.h. */
7771 if ac_fn_c_try_compile
"$LINENO"; then :
7776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7778 $as_echo "$has_iquote" >&6; }
7779 if test "x-$has_iquote" = "x-yes" ; then
7780 host_cflags_iquote
=-iquote
7781 host_cflags_iquote_end
=
7783 host_cflags_iquote
=-I
7784 host_cflags_iquote_end
=-I-
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7788 $as_echo "$as_me: Performing target configuration..." >&6;}
7793 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7801 aros_config_cppflags
=
7803 aros_config_cxxflags
=
7804 aros_config_aflags
="$""(WARN_ALL) -x assembler-with-cpp -c"
7805 aros_config_ldflags
=""
7807 aros_shared_default
=yes
7809 aros_shared_cflags
="-fPIC"
7810 aros_shared_aflags
=""
7811 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7812 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7814 aros_kernel_ar_flags
="cr"
7815 aros_target_ar_flags
="cr"
7816 aros_target_nm_flags
="-C -ul"
7817 aros_target_strip_flags
="--strip-unneeded -R.comment"
7822 aros_target_genmap
="-Wl,-Map -Xlinker"
7824 # Native flavour stuff
7825 aros_serial_debug
="0"
7827 # Palm native flavour stuff
7828 aros_palm_debug_hack
="0"
7830 # Unix flavour stuff
7831 aros_nesting_supervisor
="0"
7833 # Collect-aros stuff: "-ius" to ignore undefined symbols
7834 ignore_undefined_symbols
=""
7836 # Check for X11 by default
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7840 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7842 # Check whether --with-toolchain was given.
7843 if test "${with_toolchain+set}" = set; then :
7844 withval
=$with_toolchain; aros_toolchain
="$withval"
7846 aros_toolchain
="$default_toolchain_family"
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7850 $as_echo "$aros_toolchain" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7854 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7855 # Check whether --enable-lto was given.
7856 if test "${enable_lto+set}" = set; then :
7857 enableval
=$enable_lto; aros_config_lto
="$enableval"
7859 aros_config_lto
="no"
7862 if test "$aros_config_lto" != "no"; then
7863 aros_config_lto
="yes"
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7866 $as_echo "$aros_config_lto" >&6; }
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable coverage instrumentation" >&5
7869 $as_echo_n "checking if we should enable coverage instrumentation... " >&6; }
7870 # Check whether --enable-coverage was given.
7871 if test "${enable_coverage+set}" = set; then :
7872 enableval
=$enable_coverage; aros_config_coverage
="$enableval"
7874 aros_config_coverage
="no"
7877 if test "$aros_config_coverage" != "no"; then
7878 aros_config_coverage
="yes"
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_coverage" >&5
7881 $as_echo "$aros_config_coverage" >&6; }
7885 case "$aros_toolchain" in
7887 toolchain_c_compiler
="clang"
7888 toolchain_cxx_compiler
="clang++"
7889 toolchain_cpp_preprocessor
="clang -E"
7890 toolchain_ld
="ld.lld"
7892 toolchain_as
="llvm-as"
7893 toolchain_ar
="llvm-ar"
7894 toolchain_ranlib
="llvm-ranlib"
7895 toolchain_nm
="llvm-nm"
7896 toolchain_strip
="true"
7897 toolchain_objcopy
="llvm-objcopy"
7898 toolchain_objdump
="llvm-objdump"
7902 toolchain_c_compiler
="gcc"
7903 toolchain_cxx_compiler
="g++"
7904 toolchain_cpp_preprocessor
="gcc -E"
7907 if test "$aros_config_lto" != "yes"; then
7910 toolchain_ranlib
="ranlib"
7913 toolchain_ld
="ld.bfd"
7914 toolchain_ar
="gcc-ar"
7915 toolchain_ranlib
="gcc-ranlib"
7916 toolchain_nm
="gcc-nm"
7918 toolchain_strip
="strip"
7919 toolchain_objcopy
="objcopy"
7920 toolchain_objdump
="objdump"
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7925 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7926 toolchain_c_compiler
="cc"
7927 toolchain_cxx_compiler
="c++"
7928 toolchain_cpp_preprocessor
="cpp"
7933 toolchain_ranlib
="ranlib"
7935 toolchain_strip
="strip"
7936 toolchain_objcopy
="objcopy"
7937 toolchain_objdump
="objdump"
7941 #-----------------------------------------------------------------------------
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7944 $as_echo_n "checking which type of build to do... " >&6; }
7945 # Check whether --enable-build_type was given.
7946 if test "${enable_build_type+set}" = set; then :
7947 enableval
=$enable_build_type; build_type
=$enableval
7949 build_type
="personal"
7953 if test "$build_type" = "nightly"; then
7954 build_type_string
="NIGHTLY"
7955 elif test "$build_type" = "snapshot"; then
7956 build_type_string
="SNAPSHOT"
7957 elif test "$build_type" = "milestone"; then
7958 build_type_string
="MILESTONE"
7959 elif test "$build_type" = "release"; then
7960 build_type_string
="RELEASE"
7962 build_type_string
="PERSONAL"
7963 build_type
="personal"
7966 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7969 $as_echo "$build_type" >&6; }
7971 #-----------------------------------------------------------------------------
7972 all_debug_types
="messages stack modules mungwall symbols"
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7975 $as_echo_n "checking which debug types to enable... " >&6; }
7976 # Check whether --enable-debug was given.
7977 if test "${enable_debug+set}" = set; then :
7978 enableval
=$enable_debug; debug
="$enableval"
7984 if test "$debug" = "" -o "$debug" = "no"; then
7986 elif test "$debug" = "yes"; then
7990 if test "$debug" = "all" ; then
7991 debug
="messages stack modules symbols"
7992 for d
in $all_debug_types; do
7993 export aros_
${d}_debug
="1"
7996 for d
in $all_debug_types; do
7997 export aros_
${d}_debug
="0"
8001 if test "$debug" != "none"; then
8002 debug
=`echo $debug | sed s/,/\ /g`
8005 for d2
in $all_debug_types; do
8006 if test "$d2" = "$d"; then
8011 if test "$found" = "0"; then
8012 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
8014 export aros_
${d}_debug
="1"
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
8019 $as_echo "$debug" >&6; }
8021 if test "$aros_messages_debug" = "1"; then
8022 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8024 aros_messages_debug
=""
8026 if test "$aros_symbols_debug" = "1"; then
8027 aros_symbols_debug
="-g"
8029 aros_symbols_debug
=""
8032 # These are the flags to pass when compiling debugged programs
8033 aros_debug_cppflags
="$aros_messages_debug"
8034 aros_debug_cflags
="$aros_symbols_debug"
8035 aros_debug_cxxflags
=
8036 aros_debug_aflags
=""
8037 aros_debug_ldflags
="$aros_symbols_debug"
8039 #-----------------------------------------------------------------------------
8040 # Checking for distcc and ccache.
8042 # Always apply the transforms in this particular order. Basically you should
8043 # always run 'ccache distcc compiler' in that order for the best performance.
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
8046 $as_echo_n "checking whether to enable distcc... " >&6; }
8047 # Check whether --enable-distcc was given.
8048 if test "${enable_distcc+set}" = set; then :
8049 enableval
=$enable_distcc; distcc
="$enableval"
8054 if test "$distcc" != "" -a "$distcc" != "no"; then
8055 # AC_CHECK_PROG will print out the result in this case
8056 # Extract the first word of "distcc", so it can be a program name with args.
8057 set dummy distcc
; ac_word
=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8059 $as_echo_n "checking for $ac_word... " >&6; }
8060 if ${ac_cv_path_DISTCC+:} false
; then :
8061 $as_echo_n "(cached) " >&6
8065 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8072 test -z "$as_dir" && as_dir
=.
8073 for ac_exec_ext
in '' $ac_executable_extensions; do
8074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8075 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8087 DISTCC
=$ac_cv_path_DISTCC
8088 if test -n "$DISTCC"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
8090 $as_echo "$DISTCC" >&6; }
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 $as_echo "no" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
8103 $as_echo_n "checking whether to enable ccache... " >&6; }
8104 # Check whether --enable-ccache was given.
8105 if test "${enable_ccache+set}" = set; then :
8106 enableval
=$enable_ccache; ccache
="$enableval"
8111 if test "$ccache" != "" -a "$ccache" != "no"; then
8112 # AC_CHECK_PROG will print out the result in this case
8113 # Extract the first word of "ccache", so it can be a program name with args.
8114 set dummy ccache
; ac_word
=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116 $as_echo_n "checking for $ac_word... " >&6; }
8117 if ${ac_cv_prog_CCACHE+:} false
; then :
8118 $as_echo_n "(cached) " >&6
8120 if test -n "$CCACHE"; then
8121 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir
=.
8128 for ac_exec_ext
in '' $ac_executable_extensions; do
8129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8130 ac_cv_prog_CCACHE
="ccache"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 CCACHE
=$ac_cv_prog_CCACHE
8141 if test -n "$CCACHE"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
8143 $as_echo "$CCACHE" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146 $as_echo "no" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8155 #-----------------------------------------------------------------------------
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
8157 $as_echo_n "checking what specific host gcc version to use... " >&6; }
8159 # Check whether --with-kernel-gcc-version was given.
8160 if test "${with_kernel_gcc_version+set}" = set; then :
8161 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
8163 kernel_tool_version
=""
8166 if test "$kernel_tool_version" != "" ; then
8167 msg_result
=$kernel_tool_version
8169 msg_result
="default"
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8172 $as_echo "$msg_result" >&6; }
8174 #-----------------------------------------------------------------------------
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
8176 $as_echo_n "checking what optimization flags to use... " >&6; }
8178 # Check whether --with-optimization was given.
8179 if test "${with_optimization+set}" = set; then :
8180 withval
=$with_optimization; optimization_level
="$withval"
8182 optimization_level
="unknown"
8185 if test "$optimization_level" = "unknown"; then
8186 optimization
="default"
8187 if test "$debug" != "none"; then
8188 optimization_level
="-O0"
8190 optimization_level
="-O2"
8193 optimization
="$optimization_level"
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
8196 $as_echo "$optimization" >&6; }
8198 paranoia_default
=yes
8199 #-----------------------------------------------------------------------------
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
8201 $as_echo_n "checking which paranoia flags to use... " >&6; }
8203 # Check whether --with-paranoia was given.
8204 if test "${with_paranoia+set}" = set; then :
8205 withval
=$with_paranoia; paranoia_flags
="$withval"
8207 paranoia_flags
="$paranoia_default"
8210 if test "$paranoia_flags" = "no"; then
8211 paranoia_flags
="$""(WARN_ALL) -Werror-implicit-function-declaration"
8214 if test "$paranoia_flags" = "yes"; then
8215 paranoia_flags
="$""(WARN_ALL) $""(WARN_ERROR)"
8217 msg_result
="$paranoia_flags"
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8220 $as_echo "$msg_result" >&6; }
8221 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
8223 #-----------------------------------------------------------------------------
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
8225 $as_echo_n "checking what target variant to enable... " >&6; }
8226 # Check whether --enable-target_variant was given.
8227 if test "${enable_target_variant+set}" = set; then :
8228 enableval
=$enable_target_variant; target_variant
=$enableval
8233 if test "$target_variant" = ""; then
8234 aros_target_variant
=""
8235 aros_target_suffix
=""
8238 aros_target_variant
="$target_variant"
8239 aros_target_suffix
="-$target_variant"
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
8242 $as_echo "$enableval" >&6; }
8244 #-----------------------------------------------------------------------------
8245 # Target-specific defaults. You can override then on a per-target basis.
8247 # Bootloader name. Currently used by PC target.
8248 target_bootloader
="none"
8252 #-----------------------------------------------------------------------------
8253 # Additional options for some specific targets
8255 case "$aros_target_variant" in
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
8258 $as_echo_n "checking XCode path... " >&6; }
8260 # Check whether --with-xcode was given.
8261 if test "${with_xcode+set}" = set; then :
8262 withval
=$with_xcode; aros_xcode_path
="$withval"
8264 aros_xcode_path
="/Developer"
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
8268 $as_echo "$aros_xcode_path" >&6; }
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
8271 $as_echo_n "checking what iOS SDK version to use... " >&6; }
8273 # Check whether --with-sdk-version was given.
8274 if test "${with_sdk_version+set}" = set; then :
8275 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8277 aros_sdk_version
="4.1"
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8281 $as_echo "$aros_sdk_version" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
8287 $as_echo_n "checking Android SDK path... " >&6; }
8289 # Check whether --with-sdk was given.
8290 if test "${with_sdk+set}" = set; then :
8291 withval
=$with_sdk; aros_android_sdk
="$withval"
8293 aros_android_sdk
=$default_android_sdk
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8297 $as_echo "$aros_android_sdk" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8300 $as_echo_n "checking Android NDK path... " >&6; }
8302 # Check whether --with-ndk was given.
8303 if test "${with_ndk+set}" = set; then :
8304 withval
=$with_ndk; aros_android_ndk
="$withval"
8306 aros_android_ndk
="none"
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8310 $as_echo "$aros_android_ndk" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8313 $as_echo_n "checking what Android SDK version to use... " >&6; }
8315 # Check whether --with-sdk-version was given.
8316 if test "${with_sdk_version+set}" = set; then :
8317 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8319 aros_sdk_version
="12"
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8323 $as_echo "$aros_sdk_version" >&6; }
8325 aros_android_level
=android-
$aros_sdk_version
8326 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8327 echo "Platform $aros_android_level is not installed in your SDK"
8328 echo "Use --with-sdk-version=<API level number> to select another platform version"
8329 echo "You can check what plaform versions are installed in your SDK"
8330 echo "by examining contents of $aros_android_sdk/platforms directory"
8331 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8334 export PATH
="$aros_android_sdk/tools:$PATH"
8335 # Extract the first word of "$android_tool", so it can be a program name with args.
8336 set dummy
$android_tool; ac_word
=$2
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8338 $as_echo_n "checking for $ac_word... " >&6; }
8339 if ${ac_cv_path_android_tool+:} false
; then :
8340 $as_echo_n "(cached) " >&6
8342 case $android_tool in
8344 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8351 test -z "$as_dir" && as_dir
=.
8352 for ac_exec_ext
in '' $ac_executable_extensions; do
8353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8354 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8365 android_tool
=$ac_cv_path_android_tool
8366 if test -n "$android_tool"; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8368 $as_echo "$android_tool" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8376 if test "$android_tool" = ""; then
8379 if test "$android_tool" = "no"; then
8382 if test "$req_avail" = "no"; then
8383 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8386 if test "$aros_android_ndk" != "none"; then
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8388 $as_echo_n "checking what Android NDK version to use... " >&6; }
8390 # Check whether --with-ndk-version was given.
8391 if test "${with_ndk_version+set}" = set; then :
8392 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8394 aros_ndk_version
="9"
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8398 $as_echo "$aros_ndk_version" >&6; }
8401 # Extract the first word of "ant", so it can be a program name with args.
8402 set dummy ant
; ac_word
=$2
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8404 $as_echo_n "checking for $ac_word... " >&6; }
8405 if ${ac_cv_path_ant+:} false
; then :
8406 $as_echo_n "(cached) " >&6
8410 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8417 test -z "$as_dir" && as_dir
=.
8418 for ac_exec_ext
in '' $ac_executable_extensions; do
8419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8420 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8432 if test -n "$ant"; then
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8434 $as_echo "$ant" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8437 $as_echo "no" >&6; }
8441 if test "$ant" = ""; then
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8443 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8447 $as_echo_n "checking Build debug or release apk... " >&6; }
8449 # Check whether --with-apk-version was given.
8450 if test "${with_apk_version+set}" = set; then :
8451 withval
=$with_apk_version; aros_android_antapk
=$withval
8453 aros_android_antapk
=release
8456 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8457 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8460 $as_echo "$aros_android_antapk" >&6; }
8462 target_extra_cfg
+="$export_newline""# Android$export_newline""AROS_ANDROID_ANTAPK := $aros_android_antapk$export_newline"
8463 host_extra_cfg
+="$export_newline""# Android-specific$export_newline""ANDROID := $android_tool$export_newline""ANT := $ant$export_newline"
8464 aros_target_options
+="$export_newline""# Enable Android Gfx Driver$export_newline""OPT_HOST_ANDROIDGFX := yes$export_newline"
8466 if test "$host_os" = "mingw32"; then
8467 android_tool
="cmd //c $android_tool"
8475 #-----------------------------------------------------------------------------
8476 # External toolchains
8477 kernel_tool_prefix
="none"
8478 aros_tool_prefix
="none"
8479 elf_tool_prefix
="${target_cpu}-elf-"
8481 # Base target cpu ISA configuration switch.
8482 case "$target_cpu" in
8488 m68k_isa_extra
="ISA_MC68000_FLAGS = -march=68000"
8489 m68k_020_isa_extra
="ISA_MC68020_FLAGS = -march=68020"
8490 m68k_030_isa_extra
="ISA_MC68030_FLAGS = -march=68030"
8491 m68k_040_isa_extra
="ISA_MC68040_FLAGS = -march=68040"
8492 m68k_060_isa_extra
="ISA_MC68060_FLAGS = -march=68060"
8493 m68k_ac080_isa_extra
="ISA_AC68080_FLAGS = -march=68040"
8494 m68k_020_ext
="ISA_MC68020_EXT :=020"
8495 m68k_030_ext
="ISA_MC68030_EXT :=030"
8496 m68k_040_ext
="ISA_MC68040_EXT :=040"
8497 m68k_060_ext
="ISA_MC68060_EXT :=060"
8498 m68k_020_cflags
="ISA_MC68020_CFLAGS ="
8499 m68k_030_cflags
="ISA_MC68030_CFLAGS ="
8500 m68k_040_cflags
="ISA_MC68040_CFLAGS ="
8501 m68k_060_cflags
="ISA_MC68060_CFLAGS ="
8502 m68k_020_cppflags
="ISA_MC68020_CPPFLAGS ="
8503 m68k_030_cppflags
="ISA_MC68030_CPPFLAGS ="
8504 m68k_040_cppflags
="ISA_MC68040_CPPFLAGS ="
8505 m68k_060_cppflags
="ISA_MC68060_CPPFLAGS ="
8506 m68k_020_ldflags
="ISA_MC68020_LDFLAGS ="
8507 m68k_030_ldflags
="ISA_MC68030_LDFLAGS ="
8508 m68k_040_ldflags
="ISA_MC68040_LDFLAGS ="
8509 m68k_060_ldflags
="ISA_MC68060_LDFLAGS ="
8512 x86_isa_extra
="ISA_X86_FLAGS = -m32 -march=i486"
8513 x86_64_isa_extra
="ISA_X8664_FLAGS = -mcmodel=large"
8519 # This is the target configuration switch.
8520 case "$target_os" in
8522 aros_target_arch
="linux"
8523 aros_target_family
="unix"
8524 case "$target_cpu" in
8526 aros_target_cpu
="m68k"
8527 aros_object_format
="m68kelf"
8528 aros_flavour
="emulcompat"
8529 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8530 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8531 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8532 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8533 gcc_target_cpu
="mc68000"
8536 aros_target_cpu
="i386"
8537 aros_object_format
="elf_i386"
8538 aros_flavour
="emulation"
8539 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8540 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8541 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8542 aros_kernel_ldflags
="-Wl,-melf_i386"
8543 aros_nominal_depth
=8
8544 gcc_target_cpu
="i386"
8545 pci_hidd_target
="hidd-pci-linux"
8546 android_tool_dir_prefix
="x86"
8547 android_tool_prefix
="i686-android-linux"
8548 android_ndk_arch
="x86"
8551 aros_target_cpu
="x86_64"
8552 aros_object_format
="elf_x86_64"
8553 aros_flavour
="emulation"
8554 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8555 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8556 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8557 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8558 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8559 aros_nominal_depth
=8
8560 pci_hidd_target
="hidd-pci-linux"
8563 aros_target_cpu
="ppc"
8564 aros_object_format
="elf32ppc"
8565 aros_flavour
="emulation"
8566 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8567 aros_nominal_depth
=8
8568 gcc_target_cpu
="ppc"
8571 # Same as powerpc, but I need this for the nightly build to work again.
8572 # Actually, the nightly should be made working with powerpc target.
8573 # That just was too much work for the moment, another week or two.
8575 aros_target_cpu
="ppc"
8576 aros_object_format
="elf32ppc"
8577 aros_flavour
="emulation"
8578 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8579 aros_nominal_depth
=8
8580 gcc_target_cpu
="ppc"
8583 aros_target_cpu
="aarch64"
8584 target_cpu
="aarch64"
8585 aros_object_format
="aarch64elf_aros"
8586 aros_flavour
="emulation"
8587 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8588 gcc_target_cpu
="aarch64"
8589 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8590 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8591 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8592 aros_c_libs
="$aros_c_libs -laeabi"
8593 gcc_default_float_abi
="hard"
8594 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8597 aros_target_cpu
="arm"
8599 aros_object_format
="armelf_aros"
8600 aros_flavour
="emulation"
8601 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8602 gcc_target_cpu
="arm"
8603 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8604 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8605 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8606 aros_c_libs
="$aros_c_libs -laeabi"
8607 gcc_default_float_abi
="hard"
8608 android_tool_dir_prefix
="arm-linux-androideabi"
8609 android_tool_prefix
="arm-linux-androideabi"
8610 android_ndk_arch
="arm"
8611 kernel_tool_prefix
="arm-linux-gnueabihf-"
8614 aros_target_cpu
="arm"
8615 aros_object_format
="armelf_aros"
8616 aros_flavour
="emulation"
8617 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8618 gcc_target_cpu
="arm"
8619 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8620 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8621 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8622 aros_c_libs
="$aros_c_libs -laeabi"
8623 android_tool_dir_prefix
="arm-linux-androideabi"
8624 android_tool_prefix
="arm-linux-androideabi"
8625 android_ndk_arch
="arm"
8626 kernel_tool_prefix
="arm-linux-gnueabi-"
8629 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8632 case "$aros_target_variant" in
8635 if test "$android_ndk_arch" = ""; then
8636 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8639 aros_nominal_width
=320
8640 aros_nominal_height
=480
8641 if test "$aros_android_ndk" = "none"; then
8642 aros_kernel_cflags
="-mandroid"
8643 aros_kernel_ldflags
="-mandroid"
8646 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8647 kernel_tool_version
=""
8648 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8649 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8650 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8651 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8652 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8655 # Disable implicit PIC mode
8656 aros_config_cflags
="$aros_config_cflags -fno-pic"
8657 kernel_tool_prefix
="$android_tool_prefix-"
8663 aros_target_arch
="pc"
8664 aros_shared_default
="no"
8665 target_bootloader
="grub2"
8666 case "$target_cpu" in
8668 aros_target_cpu
="i386"
8671 if test "$aros_object_format" = "" ; then
8672 aros_object_format
="elf_i386"
8674 aros_flavour
="standalone"
8675 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8676 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8677 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8678 aros_kernel_ldflags
="-Wl,-melf_i386"
8679 aros_nominal_width
=640
8680 aros_nominal_height
=480
8681 gcc_target_cpu
="i386"
8684 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8685 aros_target_cpu
="x86_64"
8687 if test "$aros_object_format" = "" ; then
8688 aros_object_format
="elf_x86_64"
8690 aros_flavour
="standalone"
8691 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8692 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8693 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8694 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8695 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8696 aros_kernel_ldflags
=""
8697 aros_nominal_width
=640
8698 aros_nominal_height
=480
8699 case "$aros_target_variant" in
8701 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8706 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8712 aros_target_arch
="prep"
8713 aros_shared_default
="no"
8714 aros_target_cpu
="ppc"
8715 aros_object_format
="elf32ppc"
8716 aros_flavour
="ppcnative"
8717 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8718 aros_kernel_ldflags
=""
8719 aros_nominal_width
=640
8720 aros_nominal_height
=480
8721 gcc_target_cpu
="ppc"
8725 aros_target_arch
="freebsd"
8726 aros_target_family
="unix"
8727 aros_target_cpu
="i386"
8728 aros_flavour
="emulation"
8729 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8730 gcc_target_cpu
="i386"
8732 aros_target_strip_flags
="-x"
8736 aros_target_arch
="darwin"
8737 aros_target_family
="unix"
8738 aros_flavour
="emulation"
8739 case "$target_cpu" in
8741 aros_ios_platform
="iPhoneSimulator"
8742 aros_target_cpu
="i386"
8743 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8744 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8745 aros_kernel_ldflags
=""
8746 aros_macosx_version
="10.4"
8747 aros_nominal_depth
=8
8748 gcc_target_cpu
="i386"
8749 aros_object_format
="elf_i386"
8750 aros_kernel_ar_flags
="-cr"
8751 aros_target_strip_flags
="-x"
8752 kernel_tool_flags
="-m32"
8755 aros_target_cpu
="x86_64"
8756 aros_object_format
="elf_x86_64"
8757 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8758 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8759 aros_macosx_version
="10.6"
8760 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8761 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8762 aros_kernel_cflags
="-m64"
8763 aros_kernel_ldflags
="-m64"
8764 aros_nominal_depth
=8
8765 aros_kernel_rs
="$AR"
8766 aros_kernel_ar_flags
="-cr"
8767 aros_kernel_ld
="$LD"
8768 aros_kernel_as
="$AS"
8769 aros_kernel_ranlib
="$RANLIB"
8770 aros_kernel_nm
="$NM"
8771 aros_kernel_strip
="strip"
8772 kernel_tool_prefix
="i686-apple-darwin10-"
8775 aros_target_cpu
="ppc"
8776 aros_object_format
="elf32ppc"
8777 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8778 aros_kernel_ldflags
=""
8779 aros_macosx_version
="10.0"
8780 aros_nominal_depth
=8
8781 gcc_target_cpu
="ppc"
8782 aros_kernel_rs
="$AR"
8783 aros_kernel_ar_flags
="-cr"
8784 aros_kernel_ld
="$LD -arch ppc"
8785 aros_kernel_as
="$AS -arch ppc"
8786 aros_kernel_ranlib
="$RANLIB -arch ppc"
8787 aros_kernel_nm
="$NM -arch ppc"
8788 aros_kernel_strip
="strip -arch ppc"
8789 kernel_tool_prefix
="powerpc-apple-darwin10-"
8792 aros_ios_platform
="iPhoneOS"
8793 aros_target_cpu
="arm"
8794 aros_object_format
="armelf_aros"
8795 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8796 aros_c_libs
="$aros_c_libs -laeabi"
8797 aros_nominal_depth
=8
8798 gcc_target_cpu
="arm"
8799 aros_kernel_rs
="$AR"
8800 aros_kernel_ar_flags
="-cr"
8801 aros_kernel_ld
="$LD -arch arm"
8802 aros_kernel_ranlib
="$RANLIB -arch arm"
8803 kernel_tool_prefix
="arm-apple-darwin10-"
8804 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8807 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8810 case "$aros_target_variant" in
8812 make_extra_targetcfg
="$export_newline""# Apple iOS stuff for gcc$export_newline""IOS_LDFLAGS := -F$""(IOS_SDK_PATH)/System/Library/Frameworks$export_newline"
8813 aros_ios_version
="3.0"
8814 aros_nominal_width
=320
8815 aros_nominal_height
=480
8816 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8817 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"
8818 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8819 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8821 # This is here because it may depend on iOS or SDK version
8822 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8823 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8824 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8827 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8828 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8834 aros_target_arch
="dragonfly"
8835 aros_target_family
="unix"
8836 aros_flavour
="emulation"
8837 case "$target_cpu" in
8839 aros_target_cpu
="i386"
8840 aros_object_format
="elf_i386"
8841 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8842 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8845 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8846 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8847 aros_target_cpu
="x86_64"
8848 aros_object_format
="elf_x86_64"
8849 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8850 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8853 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8859 aros_target_arch
="netbsd"
8860 aros_target_family
="unix"
8861 case "$target_cpu" in
8863 aros_target_cpu
="m68k"
8864 aros_object_format
="m68kelf"
8865 aros_flavour
="emulcompat"
8866 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8867 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8868 gcc_target_cpu
="mc68000"
8871 aros_target_cpu
="i386"
8872 aros_object_format
="elf_i386"
8873 aros_flavour
="emulation"
8874 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8875 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8876 aros_nominal_depth
=8
8877 gcc_target_cpu
="i386"
8880 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8883 aros_target_genmap
="-Wl,-M -Xlinker >"
8884 aros_flavour
="emulation"
8885 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8889 aros_target_arch
="openbsd"
8890 aros_target_family
="unix"
8891 case "$target_cpu" in
8893 aros_target_cpu
="i386"
8894 aros_object_format
="elf_i386"
8895 aros_flavour
="emulation"
8896 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8897 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8898 gcc_target_cpu
="i386"
8901 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8904 aros_target_genmap
="-Wl,-M -Xlinker >"
8905 aros_target_nm_flags
="-u"
8906 aros_flavour
="emulation"
8910 aros_target_arch
="solaris"
8911 aros_target_family
="unix"
8912 case "$target_cpu" in
8914 aros_target_cpu
="i386"
8915 aros_object_format
="elf_i386"
8916 aros_flavour
="emulation"
8917 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8918 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8919 aros_nominal_depth
=8
8920 gcc_target_cpu
="i386"
8923 aros_target_cpu
="sparc"
8924 aros_object_format
="elf_sparc"
8925 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8926 gcc_target_cpu
="sparc"
8929 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8932 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8933 aros_flavour
="emulation"
8937 aros_target_arch
="morphos"
8938 aros_shared_default
="no"
8939 aros_target_cpu
="ppc"
8940 aros_object_format
="elf_ppc"
8941 aros_flavour
="nativecompat"
8942 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8943 gcc_target_cpu
="ppc"
8947 aros_target_arch
="sam440"
8948 aros_shared_default
="no"
8949 aros_target_cpu
="ppc"
8950 aros_object_format
="elf32ppc"
8951 aros_flavour
="ppcnative"
8952 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8953 aros_kernel_ldflags
=""
8954 aros_nominal_width
=1024
8955 aros_nominal_height
=768
8956 aros_nominal_depth
=24
8957 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8958 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8959 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8960 gcc_target_cpu
="powerpc"
8964 aros_target_arch
="efika"
8965 aros_shared_default
="no"
8966 aros_target_cpu
="arm"
8967 aros_object_format
="armelf_aros"
8968 aros_flavour
="standalone"
8969 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8970 aros_kernel_ldflags
=""
8971 aros_nominal_width
=1024
8972 aros_nominal_height
=600
8973 aros_c_libs
="$aros_c_libs -laeabi"
8974 gcc_default_cpu
="armv7-a"
8975 gcc_default_fpu
="vfpv3"
8976 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8977 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8978 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8979 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8980 if test "$optimization" = "default"; then
8981 optimization_level
="-Os"
8983 case "$target_cpu" in
8985 gcc_default_float_abi
="hard"
8990 gcc_default_float_abi
="softfp"
8993 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
8999 aros_target_arch
="chrp"
9000 aros_shared_default
="no"
9001 aros_target_cpu
="ppc"
9002 aros_object_format
="elf32ppc"
9003 aros_flavour
="ppcnative"
9004 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
9005 aros_kernel_ldflags
=""
9006 aros_nominal_width
=640
9007 aros_nominal_height
=480
9008 aros_isa_flags
="$aros_isa_flags -mno-toc"
9009 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9010 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9011 gcc_target_cpu
="powerpc"
9012 case "$aros_target_variant" in
9014 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
9015 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
9021 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
9022 aros_flavour
="standalone"
9023 aros_target_arch
="raspi"
9025 aros_shared_default
="no"
9027 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
9029 case "$target_cpu" in
9031 aros_target_cpu
="aarch64"
9032 gcc_default_cpu
="aarch64"
9033 aros_object_format
="aarch64elf_aros"
9036 aros_target_cpu
="arm"
9037 gcc_default_cpu
="armv6zk"
9038 gcc_default_cpu_tune
="arm1176jzf-s"
9039 aros_object_format
="armelf_aros"
9040 aros_isa_flags
="$aros_isa_flags -marm"
9041 aros_config_cflags
="$aros_config_cflags"
9042 aros_config_cxxflags
="$aros_config_cxxflags"
9043 aros_config_aflags
="$aros_config_aflags -marm"
9044 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9045 aros_target_mkdep
="$aros_target_mkdep -Darm"
9046 aros_c_libs
="$aros_c_libs -laeabi"
9049 aros_flavour
="standcompat"
9050 aros_target_cpu
="armeb"
9051 gcc_default_float_abi
="hard"
9052 gcc_default_cpu
="armv7ve"
9053 gcc_default_cpu_tune
="cortex-a7"
9054 aros_object_format
="armelfb_aros"
9055 aros_isa_flags
="$aros_isa_flags -marm"
9056 aros_config_cflags
="$aros_config_cflags"
9057 aros_config_cxxflags
="$aros_config_cxxflags"
9058 aros_config_aflags
="$aros_config_aflags -marm"
9059 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9060 aros_target_mkdep
="$aros_target_mkdep -Darm"
9061 aros_c_libs
="$aros_c_libs -laeabi"
9064 aros_target_cpu
="arm"
9065 gcc_default_cpu
="armv6zk"
9066 gcc_default_cpu_tune
="arm1176jzf-s"
9067 aros_object_format
="armelf_aros"
9068 aros_isa_flags
="$aros_isa_flags -marm"
9069 aros_config_cflags
="$aros_config_cflags"
9070 aros_config_cxxflags
="$aros_config_cxxflags"
9071 aros_config_aflags
="$aros_config_aflags -marm"
9072 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9073 aros_target_mkdep
="$aros_target_mkdep -Darm"
9074 aros_c_libs
="$aros_c_libs -laeabi"
9077 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
9081 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9082 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9083 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9084 aros_kernel_cflags
="$aros_kernel_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9086 case "$aros_target_variant" in
9088 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
9094 aros_flavour
="standalone"
9095 aros_target_arch
="stm32f7_discovery"
9096 aros_target_cpu
="arm"
9097 aros_target_cpu_mode
="thumb2"
9098 aros_object_format
="armelf_aros"
9099 aros_shared_default
="no"
9101 gcc_default_cpu
="armv7e-m"
9102 gcc_default_cpu_tune
="cortex-m7"
9103 gcc_default_fpu
="fpv5-sp-d16"
9104 gcc_default_float_abi
="hard"
9106 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
9110 aros_elf_translate
="$""(ELF2HUNK)"
9111 make_extra_commands
="$export_newline""ELF2HUNK := $""(TOOLDIR)/elf2hunk$""(HOST_EXE_SUFFIX)$export_newline"
9112 aros_target_arch
="amiga"
9113 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
9114 aros_shared_default
="no"
9116 case "$target_cpu" in
9118 # Check whether --enable-amigaos_compliance was given.
9119 if test "${enable_amigaos_compliance+set}" = set; then :
9120 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
9124 aros_target_cpu
="m68k"
9125 aros_object_format
="m68kelf"
9126 aros_flavour
="standcompat"
9127 gcc_target_cpu
="m68000"
9128 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9129 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
9130 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
9131 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9132 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9133 if test "$optimization" = "default"; then
9134 optimization_level
="-Os"
9136 aros_config_aflags
="$aros_config_aflags"
9137 aros_target_strip_flags
="-R.comment --strip-debug"
9138 aros_nominal_width
=640
9139 aros_nominal_height
=256
9140 aros_nominal_depth
=2
9144 aros_flavour
="native"
9145 gcc_target_cpu
="ppc"
9148 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
9154 aros_target_arch
="mingw32"
9155 aros_shared_default
="no"
9156 aros_flavour
="emulation"
9157 aros_shared_cflags
=""
9158 need_crosstools
="yes"
9161 case "$target_cpu" in
9163 aros_target_cpu
="i386"
9164 aros_object_format
="elf_i386"
9165 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
9166 aros_isa_flags
="$""(ISA_X86_FLAGS)"
9167 aros_nominal_depth
=8
9168 gcc_target_cpu
="i386"
9170 kernel_tool_prefix
="i386-mingw32-"
9173 aros_target_cpu
="x86_64"
9174 aros_object_format
="elf_x86_64"
9175 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
9176 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
9177 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
9178 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
9179 aros_nominal_depth
=8
9180 kernel_tool_prefix
="x86_64-w64-mingw32-"
9183 aros_target_cpu
="arm"
9184 aros_object_format
="armelf_aros"
9185 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
9186 aros_c_libs
="$aros_c_libs -laeabi"
9187 aros_nominal_depth
=8
9188 gcc_target_cpu
="arm"
9189 gcc_default_float_abi
="soft"
9190 kernel_tool_prefix
="arm-mingw32ce-"
9191 aros_nominal_width
=160
9192 aros_nominal_height
=160
9195 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
9198 if test $host_os = "cygwin"; then
9199 aros_kernel_cflags
="-mno-cygwin"
9203 aros_target_arch
="pp"
9204 aros_shared_default
="no"
9205 case "$target_cpu" in
9207 aros_target_cpu
="m68k"
9208 aros_object_format
="m68kelf"
9209 aros_flavour
="palmnative"
9210 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9211 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9212 aros_nominal_width
=160
9213 aros_nominal_height
=160
9214 aros_nominal_depth
=1
9215 aros_target_ar_flags
="cru"
9216 aros_c_libs
="$aros_c_libs -lgcc1"
9217 aros_shared_default
=no
9218 aros_shared_cflags
="-fpic"
9219 aros_shared_aflags
=""
9220 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9221 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9222 aros_debug_cppflags
="$aros_messages_debug"
9223 aros_debug_cflags
="$aros_symbols_debug"
9224 aros_debug_aflags
=""
9225 aros_debug_ldflags
="$aros_symbols_debug"
9226 aros_mungwall_debug
="0"
9227 aros_modules_debug
="0"
9228 gcc_target_cpu
="mc68000"
9229 ignore_undefined_symbols
="-ius"
9232 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
9238 aros_target_arch
="mac"
9239 aros_shared_default
="no"
9240 case "$target_cpu" in
9242 aros_target_cpu
="m68k"
9243 aros_object_format
="m68kelf"
9244 aros_flavour
="mac68knative"
9245 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9246 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9247 aros_nominal_width
=512
9248 aros_nominal_height
=384
9249 aros_nominal_depth
=8
9250 aros_target_ar_flags
="cru"
9251 aros_c_libs
="$aros_c_libs -lgcc1"
9252 aros_shared_default
=no
9253 aros_shared_cflags
="-fpic"
9254 aros_shared_aflags
=""
9255 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9256 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9257 aros_debug_cppflags
="$aros_messages_debug"
9258 aros_debug_cflags
="$aros_symbols_debug"
9259 aros_debug_aflags
=""
9260 aros_debug_ldflags
="$aros_symbols_debug"
9261 aros_mungwall_debug
="0"
9262 aros_modules_debug
="0"
9263 gcc_target_cpu
="mc68000"
9264 ignore_undefined_symbols
="-ius"
9267 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
9273 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
9277 #-----------------------------------------------------------------------------
9278 crosstools_guess
="yes"
9279 aros_target_toolchain
="no"
9280 aros_kernel_sysroot
=""
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
9283 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
9285 # Check whether --with-kernel-toolchain-prefix was given.
9286 if test "${with_kernel_toolchain_prefix+set}" = set; then :
9287 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9291 $as_echo "$kernel_tool_prefix" >&6; }
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
9294 $as_echo_n "checking ELF toolchain prefix... " >&6; }
9296 # Check whether --with-elf-toolchain-prefix was given.
9297 if test "${with_elf_toolchain_prefix+set}" = set; then :
9298 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
9299 crosstools_guess
="no"
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
9303 $as_echo "$elf_tool_prefix" >&6; }
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
9306 $as_echo_n "checking AROS toolchain prefix... " >&6; }
9308 # Check whether --with-aros-toolchain was given.
9309 if test "${with_aros_toolchain+set}" = set; then :
9310 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
9311 crosstools_guess
="no"
9314 if test "$aros_tool_prefix" = "yes" ; then
9315 aros_tool_prefix
=$aros_target_cpu-aros-
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
9318 $as_echo "$aros_tool_prefix" >&6; }
9320 #-----------------------------------------------------------------------------
9321 # Checking if we should build crosstools..
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
9323 $as_echo_n "checking whether to build crosstools... " >&6; }
9324 # Check whether --enable-crosstools was given.
9325 if test "${enable_crosstools+set}" = set; then :
9326 enableval
=$enable_crosstools; crosstools
="$enableval"
9328 crosstools
="$crosstools_guess"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
9332 $as_echo "$crosstools" >&6; }
9334 if test "${crosstools}" = "yes"; then
9335 if test "${crosstools_guess}" = "no"; then
9336 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
9340 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
9341 aros_target_toolchain
="yes"
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
9345 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
9347 # Check whether --with-aros-toolchain-install was given.
9348 if test "${with_aros_toolchain_install+set}" = set; then :
9349 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
9352 if test "x$aros_toolchain_install" = "x"; then
9353 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9355 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
9356 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
9357 if test "$crosstools_guess" = "no" ; then
9358 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
9359 aros_kernel_sysroot
="$""(TARGET_SYSROOT)"
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9364 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9366 #-----------------------------------------------------------------------------
9367 if test "$aros_toolchain" = "gnu" ; then
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9369 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9372 # Check whether --with-binutils-version was given.
9373 if test "${with_binutils_version+set}" = set; then :
9374 withval
=$with_binutils_version; use_binutils_version
="$withval"
9376 use_binutils_version
=""
9379 if test "$use_binutils_version" = ""; then
9380 target_binutils_version
="$default_binutils_version"
9382 target_binutils_version
="$use_binutils_version"
9384 if test "$aros_toolchain" = "gnu" ; then
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9386 $as_echo "$target_binutils_version" >&6; }
9390 # Helper to identify gcc version
9393 #-----------------------------------------------------------------------------
9394 if test "$aros_toolchain" = "gnu" ; then
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9396 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9399 # Check whether --with-gcc-version was given.
9400 if test "${with_gcc_version+set}" = set; then :
9401 withval
=$with_gcc_version; use_gcc_version
="$withval"
9406 if test "$use_gcc_version" = ""; then
9407 if test "${crosstools}" = "no"; then
9408 if test "x$aros_toolchain_install" != "x"; then
9410 target_gcc_version
=""
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9412 $as_echo_n "checking gcc version... " >&6; }
9413 if ${ax_cv_gcc_version+:} false
; then :
9414 $as_echo_n "(cached) " >&6
9417 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9418 if test "x$ax_cv_gcc_version" = "x"; then :
9420 ax_cv_gcc_version
=""
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9426 $as_echo "$ax_cv_gcc_version" >&6; }
9427 target_gcc_version
=$ax_cv_gcc_version
9432 if test "$use_gcc_version" = ""; then
9433 target_gcc_version
="$default_gcc_version"
9436 target_gcc_version
="$use_gcc_version"
9438 if test "$aros_toolchain" = "gnu" ; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9440 $as_echo "$target_gcc_version" >&6; }
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version string style" >&5
9443 $as_echo_n "checking version string style... " >&6; }
9444 if test "${target_gcc_version#*$'-'}" != "$target_gcc_version" ; then
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: snapshot" >&5
9446 $as_echo "snapshot" >&6; }
9447 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'-' -f1)
9448 GCC_VERSION_MINOR
=-1
9449 GCC_VERSION_PATCH
=-1
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: release" >&5
9452 $as_echo "release" >&6; }
9453 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9454 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9455 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9458 gcc_fix_bitfields
="false"
9459 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9460 gcc_fix_bitfields
="true"
9462 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9463 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9464 gcc_fix_bitfields
="true"
9469 if test "$gcc_fix_bitfields" = "true" ; then
9470 case "$aros_target_cpu" in
9472 x86_isa_extra
="$x86_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9473 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9480 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9481 # Check whether --enable-objc was given.
9482 if test "${enable_objc+set}" = set; then :
9483 enableval
=$enable_objc; objc
="$enableval"
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9489 $as_echo "$objc" >&6; }
9490 if test "x$objc" = "xyes"; then
9493 objc_target
="no-objc"
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9497 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9498 # Check whether --enable-java was given.
9499 if test "${enable_java+set}" = set; then :
9500 enableval
=$enable_java; java
="$enableval"
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9506 $as_echo "$java" >&6; }
9507 if test "x$java" != "xno"; then
9510 java_target
="no-java"
9513 spec_obj_format
="-m $aros_object_format"
9514 # Now process extra architecture-specific options.
9515 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9516 # as well as floating-point ABI.
9517 case "$aros_target_cpu" in
9519 aros_isa_targets
="M68K_ISA_TARGETS :=MC68020 MC68040"
9520 aros_isa_extra
="$aros_isa_extra$export_newline$aros_isa_targets$export_newline"
9521 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"
9522 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"
9523 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"
9524 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"
9525 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"
9528 aros_isa_extra
="$export_newline$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9529 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9532 if test "$gcc_default_cpu" = ""; then
9533 gcc_default_cpu
="armv6"
9535 if test "$gcc_default_fpu" = ""; then
9536 gcc_default_fpu
="vfp"
9538 if test "$gcc_default_endian" = ""; then
9539 if test "$target_cpu" = "armeb"; then
9540 gcc_default_endian
="big-endian"
9542 gcc_default_endian
="little-endian"
9545 if test "$gcc_default_float_abi" = ""; then
9546 if test "$target_cpu" = "armhf"; then
9547 gcc_default_float_abi
="hard"
9549 gcc_default_float_abi
="softfp"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9554 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9556 # Check whether --with-cpu was given.
9557 if test "${with_cpu+set}" = set; then :
9558 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9560 aros_gcc_cpu
=$gcc_default_cpu
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9564 $as_echo "$aros_gcc_cpu" >&6; }
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9567 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9569 # Check whether --with-fpu was given.
9570 if test "${with_fpu+set}" = set; then :
9571 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9573 aros_gcc_fpu
=$gcc_default_fpu
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9577 $as_echo "$aros_gcc_fpu" >&6; }
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9580 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9582 # Check whether --with-float was given.
9583 if test "${with_float+set}" = set; then :
9584 withval
=$with_float; aros_gcc_float_abi
="$withval"
9586 aros_gcc_float_abi
=$gcc_default_float_abi
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9590 $as_echo "$aros_gcc_float_abi" >&6; }
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9593 $as_echo_n "checking Which ARM mode to use... " >&6; }
9594 if test "$aros_target_cpu_mode" = ""; then
9595 aros_target_cpu_mode
="arm32"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9597 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9600 $as_echo "$aros_target_cpu_mode" >&6; }
9603 case "$aros_target_cpu_mode" in
9605 gcc_default_mode
="arm"
9606 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"
9609 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9612 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9615 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9618 gcc_default_mode
="thumb"
9619 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9620 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"
9623 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9627 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9628 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9629 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9632 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9633 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9637 # Some architectures may need custom ELF specs.
9638 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9639 elf_specs_in
=config
/${aros_object_format}-specs.
in
9641 elf_specs_in
=config
/elf-specs.
in
9644 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9645 # Since we override specs, we may need to put these defines there
9646 if test "$gcc_target_cpu" != ""; then
9647 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9651 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9653 # Check whether --with-portssources was given.
9654 if test "${with_portssources+set}" = set; then :
9655 withval
=$with_portssources; with_portssrcdir
=$withval
9657 with_portssrcdir
="default"
9660 if test "$with_portssrcdir" = "default"; then
9661 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9663 AROS_PORTSSRCDIR
="$with_portssrcdir"
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9666 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9669 $as_echo_n "checking which bootloader to use... " >&6; }
9671 # Check whether --with-bootloader was given.
9672 if test "${with_bootloader+set}" = set; then :
9673 withval
=$with_bootloader; target_bootloader
=$withval
9675 target_bootloader
=$target_bootloader
9678 if test "$target_bootloader" = "none"; then
9679 aros_target_bootloader
=""
9681 aros_target_bootloader
="$target_bootloader"
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9684 $as_echo "$target_bootloader" >&6; }
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9687 $as_echo_n "checking which icon-set to use... " >&6; }
9689 # Check whether --with-iconset was given.
9690 if test "${with_iconset+set}" = set; then :
9691 withval
=$with_iconset; target_iconset
=$withval
9693 target_iconset
="default"
9696 if test "$target_iconset" = "default"; then
9697 aros_target_iconset
="Gorilla"
9698 target_iconset
="default (Gorilla)"
9700 aros_target_iconset
="$target_iconset"
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9703 $as_echo "$target_iconset" >&6; }
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9706 $as_echo_n "checking which GUI Theme to use... " >&6; }
9708 # Check whether --with-theme was given.
9709 if test "${with_theme+set}" = set; then :
9710 withval
=$with_theme; target_guitheme
=$withval
9712 target_guitheme
="default"
9715 if test "$target_guitheme" = "default"; then
9716 aros_target_guitheme
="Ice"
9718 aros_target_guitheme
="$target_guitheme"
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9721 $as_echo "$aros_target_guitheme" >&6; }
9723 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9727 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9731 if test "$aros_host_cpu" == "x86_64" ; then
9732 if test "$aros_target_cpu" == "i386" ; then
9737 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9738 if test "$aros_host_arch" != "$aros_target_arch" ; then
9745 if test "$cross_compiling" = "no" ; then
9746 kernel_tool_prefix
=""
9747 if test "$host_cc_elf" = "yes" ; then
9752 if test "$kernel_tool_version" != ""; then
9753 kernel_tool_version
="-$kernel_tool_version"
9756 #######################################################################
9757 ## Compute what toolchains to use, and their paths ##
9758 #######################################################################
9760 # This takes, as input:
9761 # crosstools {yes,no}
9762 # kernel_tool_version {"",[version]}
9763 # target_tool_version {"",[version]}
9764 # kernel_tool_prefix {none,[some-arch-os-]}
9766 # target_tool_prefix ${aros_target_cpu}-aros-
9767 # aros_tool_prefix ${aros_target_cpu}-aros-
9770 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9771 # Where the 'kernel' binaries are located
9772 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9773 # Where the 'target' binaries are located
9774 # (not the symlink farm - that is aros_target_*!)
9777 # if crosstools then
9778 # if kernel_tools_prefix = "no-kernel-prefix-"
9779 # aros_kernel_* = crosstools cc paths
9780 # aros_kernel_cc = elf cc wrapper around crosstools cc
9782 # VALIDATE(${kernel_tools_prefix}*)
9783 # aros_kernel_* = ${kernel_tools_prefix}*
9784 # if ${kernel_tools_prefix}cc is an AROS gcc
9785 # aros_kernel_cc = ${kernel_tools_prefix}cc
9787 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9791 # orig_target_* = aros built crosstools
9792 # orig_target_cc = elf cc wrapper around crosstools cc
9794 # VALIDATE(${kernel_tools_prefix}*)
9796 # orig_target_* = aros_kernel_*
9797 # if aros_kernel_cc is an AROS gcc
9798 # orig_target_cc = aros_kernel_cc
9800 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9804 if test "$aros_toolchain" = "gnu" ; then
9805 target_tool_prefix
="${aros_target_cpu}-aros-"
9806 elif test "$aros_toolchain" = "llvm" ; then
9807 target_tool_prefix
="bin/"
9810 if test "$kernel_tool_prefix" != "" ; then
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9812 $as_echo_n "checking which kernel tools... " >&6; }
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9814 $as_echo "$kernel_tool_prefix" >&6; };
9817 if test "$kernel_tool_prefix" = "none" ; then
9818 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9819 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9822 if test "x-$aros_flavour" != "x-standalone" -o "x-$aros_flavour" != "x-standcompat" ; then
9823 # Kernel tools required - find them
9824 # Note that 'normally', aros_kernel_* overrides will be
9825 # empty, unless specified in the per-arch sections above.
9827 if test "x$aros_kernel_cpp" = "x"; then
9828 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9830 if test "${kernel_tool_version}" != ""; then
9831 if test "$aros_kernel_cpp" != ""; then
9832 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9833 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9834 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9838 if test "$aros_kernel_cpp" = ""; then
9839 if test "$cross_compiling" = "yes" ; then
9840 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9841 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9843 $as_echo_n "checking for $ac_word... " >&6; }
9844 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9845 $as_echo_n "(cached) " >&6
9847 case $aros_kernel_cpp in
9849 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9856 test -z "$as_dir" && as_dir
=.
9857 for ac_exec_ext
in '' $ac_executable_extensions; do
9858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9859 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9870 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9871 if test -n "$aros_kernel_cpp"; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9873 $as_echo "$aros_kernel_cpp" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9876 $as_echo "no" >&6; }
9882 if test "" = ""; then
9887 if test "$GCC" = "yes"; then
9888 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
9889 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9890 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9892 $as_echo_n "checking for $ac_word... " >&6; }
9893 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9894 $as_echo_n "(cached) " >&6
9896 case $aros_kernel_cpp in
9898 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9902 for as_dir
in `dirname $aros_gcc_cpp`
9905 test -z "$as_dir" && as_dir
=.
9906 for ac_exec_ext
in '' $ac_executable_extensions; do
9907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9908 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9919 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9920 if test -n "$aros_kernel_cpp"; then
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9922 $as_echo "$aros_kernel_cpp" >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9925 $as_echo "no" >&6; }
9930 if test "$aros_kernel_cpp" = ""; then
9931 for ac_prog
in $ac_tool_cpp
9933 # Extract the first word of "$ac_prog", so it can be a program name with args.
9934 set dummy
$ac_prog; ac_word
=$2
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9936 $as_echo_n "checking for $ac_word... " >&6; }
9937 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9938 $as_echo_n "(cached) " >&6
9940 case $aros_kernel_cpp in
9942 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir
=.
9950 for ac_exec_ext
in '' $ac_executable_extensions; do
9951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9952 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9963 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9964 if test -n "$aros_kernel_cpp"; then
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9966 $as_echo "$aros_kernel_cpp" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9969 $as_echo "no" >&6; }
9973 test -n "$aros_kernel_cpp" && break
9980 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9981 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9982 set dummy
$aros_kernel_cpp; ac_word
=$2
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9984 $as_echo_n "checking for $ac_word... " >&6; }
9985 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9986 $as_echo_n "(cached) " >&6
9988 case $aros_kernel_cpp in
9990 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9997 test -z "$as_dir" && as_dir
=.
9998 for ac_exec_ext
in '' $ac_executable_extensions; do
9999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10000 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
10001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10011 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
10012 if test -n "$aros_kernel_cpp"; then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
10014 $as_echo "$aros_kernel_cpp" >&6; }
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10017 $as_echo "no" >&6; }
10021 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
10025 if test "$aros_kernel_cpp" = ""; then
10028 if test "$aros_kernel_cpp" = "no"; then
10031 if test "$req_avail" = "no"; then
10032 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10035 if test "x$aros_kernel_cc" = "x"; then
10036 aros_kernel_cc
=${kernel_tool_prefix}${CC}
10038 if test "${kernel_tool_version}" != ""; then
10039 if test "$aros_kernel_cc" != ""; then
10040 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10041 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
10042 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10046 if test "$aros_kernel_cc" = ""; then
10047 if test "$cross_compiling" = "yes" ; then
10048 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
10049 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10051 $as_echo_n "checking for $ac_word... " >&6; }
10052 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10053 $as_echo_n "(cached) " >&6
10055 case $aros_kernel_cc in
10057 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10061 for as_dir
in $PATH
10064 test -z "$as_dir" && as_dir
=.
10065 for ac_exec_ext
in '' $ac_executable_extensions; do
10066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10067 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10078 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10079 if test -n "$aros_kernel_cc"; then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10081 $as_echo "$aros_kernel_cc" >&6; }
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10084 $as_echo "no" >&6; }
10090 if test "" = ""; then
10095 if test "$GCC" = "yes"; then
10096 aros_gcc_cc
=`$CC -print-prog-name=$ac_tool_cc`
10097 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
10098 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10100 $as_echo_n "checking for $ac_word... " >&6; }
10101 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10102 $as_echo_n "(cached) " >&6
10104 case $aros_kernel_cc in
10106 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10110 for as_dir
in `dirname $aros_gcc_cc`
10113 test -z "$as_dir" && as_dir
=.
10114 for ac_exec_ext
in '' $ac_executable_extensions; do
10115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10116 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10127 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10128 if test -n "$aros_kernel_cc"; then
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10130 $as_echo "$aros_kernel_cc" >&6; }
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10133 $as_echo "no" >&6; }
10138 if test "$aros_kernel_cc" = ""; then
10139 for ac_prog
in $ac_tool_cc
10141 # Extract the first word of "$ac_prog", so it can be a program name with args.
10142 set dummy
$ac_prog; ac_word
=$2
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10144 $as_echo_n "checking for $ac_word... " >&6; }
10145 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10146 $as_echo_n "(cached) " >&6
10148 case $aros_kernel_cc in
10150 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10154 for as_dir
in $PATH
10157 test -z "$as_dir" && as_dir
=.
10158 for ac_exec_ext
in '' $ac_executable_extensions; do
10159 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10160 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10171 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10172 if test -n "$aros_kernel_cc"; then
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10174 $as_echo "$aros_kernel_cc" >&6; }
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10177 $as_echo "no" >&6; }
10181 test -n "$aros_kernel_cc" && break
10188 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10189 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
10190 set dummy
$aros_kernel_cc; ac_word
=$2
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10192 $as_echo_n "checking for $ac_word... " >&6; }
10193 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10194 $as_echo_n "(cached) " >&6
10196 case $aros_kernel_cc in
10198 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10202 for as_dir
in $PATH
10205 test -z "$as_dir" && as_dir
=.
10206 for ac_exec_ext
in '' $ac_executable_extensions; do
10207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10208 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10219 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10220 if test -n "$aros_kernel_cc"; then
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10222 $as_echo "$aros_kernel_cc" >&6; }
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10225 $as_echo "no" >&6; }
10229 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
10233 if test "$aros_kernel_cc" = ""; then
10236 if test "$aros_kernel_cc" = "no"; then
10239 if test "$req_avail" = "no"; then
10240 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10243 if test "x$aros_kernel_cxx" = "x"; then
10244 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
10246 if test "${kernel_tool_version}" != ""; then
10247 if test "$aros_kernel_cxx" != ""; then
10248 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10249 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
10250 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10254 if test "$aros_kernel_cxx" = ""; then
10255 if test "$cross_compiling" = "yes" ; then
10256 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
10257 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10259 $as_echo_n "checking for $ac_word... " >&6; }
10260 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10261 $as_echo_n "(cached) " >&6
10263 case $aros_kernel_cxx in
10265 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10269 for as_dir
in $PATH
10272 test -z "$as_dir" && as_dir
=.
10273 for ac_exec_ext
in '' $ac_executable_extensions; do
10274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10275 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10286 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10287 if test -n "$aros_kernel_cxx"; then
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10289 $as_echo "$aros_kernel_cxx" >&6; }
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10292 $as_echo "no" >&6; }
10298 if test "" = ""; then
10303 if test "$GCC" = "yes"; then
10304 aros_gcc_cxx
=`$CC -print-prog-name=$ac_tool_cxx`
10305 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
10306 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10308 $as_echo_n "checking for $ac_word... " >&6; }
10309 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10310 $as_echo_n "(cached) " >&6
10312 case $aros_kernel_cxx in
10314 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10318 for as_dir
in `dirname $aros_gcc_cxx`
10321 test -z "$as_dir" && as_dir
=.
10322 for ac_exec_ext
in '' $ac_executable_extensions; do
10323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10324 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10336 if test -n "$aros_kernel_cxx"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10338 $as_echo "$aros_kernel_cxx" >&6; }
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341 $as_echo "no" >&6; }
10346 if test "$aros_kernel_cxx" = ""; then
10347 for ac_prog
in $ac_tool_cxx
10349 # Extract the first word of "$ac_prog", so it can be a program name with args.
10350 set dummy
$ac_prog; ac_word
=$2
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10352 $as_echo_n "checking for $ac_word... " >&6; }
10353 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10354 $as_echo_n "(cached) " >&6
10356 case $aros_kernel_cxx in
10358 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10362 for as_dir
in $PATH
10365 test -z "$as_dir" && as_dir
=.
10366 for ac_exec_ext
in '' $ac_executable_extensions; do
10367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10368 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10379 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10380 if test -n "$aros_kernel_cxx"; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10382 $as_echo "$aros_kernel_cxx" >&6; }
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10385 $as_echo "no" >&6; }
10389 test -n "$aros_kernel_cxx" && break
10396 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10397 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
10398 set dummy
$aros_kernel_cxx; ac_word
=$2
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10400 $as_echo_n "checking for $ac_word... " >&6; }
10401 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10402 $as_echo_n "(cached) " >&6
10404 case $aros_kernel_cxx in
10406 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10410 for as_dir
in $PATH
10413 test -z "$as_dir" && as_dir
=.
10414 for ac_exec_ext
in '' $ac_executable_extensions; do
10415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10427 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10428 if test -n "$aros_kernel_cxx"; then
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10430 $as_echo "$aros_kernel_cxx" >&6; }
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10433 $as_echo "no" >&6; }
10437 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10440 # If it's set, make sure it's really there
10441 if test "x$aros_kernel_cxx" != "x" ; then
10443 if test "$aros_kernel_cxx" = ""; then
10446 if test "$aros_kernel_cxx" = "no"; then
10449 if test "$req_avail" = "no"; then
10450 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10453 if test "x$aros_kernel_ld" = "x"; then
10454 aros_kernel_ld
=$aros_host_ld
10457 if test "$aros_kernel_ld" = ""; then
10458 if test "$cross_compiling" = "yes" ; then
10459 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10460 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10462 $as_echo_n "checking for $ac_word... " >&6; }
10463 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10464 $as_echo_n "(cached) " >&6
10466 case $aros_kernel_ld in
10468 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10472 for as_dir
in $PATH
10475 test -z "$as_dir" && as_dir
=.
10476 for ac_exec_ext
in '' $ac_executable_extensions; do
10477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10478 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10489 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10490 if test -n "$aros_kernel_ld"; then
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10492 $as_echo "$aros_kernel_ld" >&6; }
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10495 $as_echo "no" >&6; }
10501 if test "" = ""; then
10506 if test "$GCC" = "yes"; then
10507 aros_gcc_ld
=`$CC -print-prog-name=$ac_tool_ld`
10508 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10509 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10511 $as_echo_n "checking for $ac_word... " >&6; }
10512 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10513 $as_echo_n "(cached) " >&6
10515 case $aros_kernel_ld in
10517 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10521 for as_dir
in `dirname $aros_gcc_ld`
10524 test -z "$as_dir" && as_dir
=.
10525 for ac_exec_ext
in '' $ac_executable_extensions; do
10526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10527 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10538 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10539 if test -n "$aros_kernel_ld"; then
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10541 $as_echo "$aros_kernel_ld" >&6; }
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10544 $as_echo "no" >&6; }
10549 if test "$aros_kernel_ld" = ""; then
10550 for ac_prog
in $ac_tool_ld
10552 # Extract the first word of "$ac_prog", so it can be a program name with args.
10553 set dummy
$ac_prog; ac_word
=$2
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10555 $as_echo_n "checking for $ac_word... " >&6; }
10556 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 case $aros_kernel_ld in
10561 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10565 for as_dir
in $PATH
10568 test -z "$as_dir" && as_dir
=.
10569 for ac_exec_ext
in '' $ac_executable_extensions; do
10570 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10571 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10582 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10583 if test -n "$aros_kernel_ld"; then
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10585 $as_echo "$aros_kernel_ld" >&6; }
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10588 $as_echo "no" >&6; }
10592 test -n "$aros_kernel_ld" && break
10599 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10600 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10601 set dummy
$aros_kernel_ld; ac_word
=$2
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10603 $as_echo_n "checking for $ac_word... " >&6; }
10604 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10605 $as_echo_n "(cached) " >&6
10607 case $aros_kernel_ld in
10609 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10613 for as_dir
in $PATH
10616 test -z "$as_dir" && as_dir
=.
10617 for ac_exec_ext
in '' $ac_executable_extensions; do
10618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10619 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10630 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10631 if test -n "$aros_kernel_ld"; then
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10633 $as_echo "$aros_kernel_ld" >&6; }
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10636 $as_echo "no" >&6; }
10640 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10644 if test "$aros_kernel_ld" = ""; then
10647 if test "$aros_kernel_ld" = "no"; then
10650 if test "$req_avail" = "no"; then
10651 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10653 if test "x$aros_kernel_as" = "x"; then
10654 aros_kernel_as
=$aros_host_as
10655 if test "x$aros_kernel_as" = "x"; then
10656 aros_kernel_as
=${HOST_TOOLCHAIN_PREFIX}as
${HOST_TOOLCHAIN_SUFFIX}
10660 if test "$aros_kernel_as" = ""; then
10661 if test "$cross_compiling" = "yes" ; then
10662 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10663 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10665 $as_echo_n "checking for $ac_word... " >&6; }
10666 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10667 $as_echo_n "(cached) " >&6
10669 case $aros_kernel_as in
10671 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10675 for as_dir
in $PATH
10678 test -z "$as_dir" && as_dir
=.
10679 for ac_exec_ext
in '' $ac_executable_extensions; do
10680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10681 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10692 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10693 if test -n "$aros_kernel_as"; then
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10695 $as_echo "$aros_kernel_as" >&6; }
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10698 $as_echo "no" >&6; }
10704 if test "" = ""; then
10709 if test "$GCC" = "yes"; then
10710 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
10711 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10712 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10714 $as_echo_n "checking for $ac_word... " >&6; }
10715 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10716 $as_echo_n "(cached) " >&6
10718 case $aros_kernel_as in
10720 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10724 for as_dir
in `dirname $aros_gcc_as`
10727 test -z "$as_dir" && as_dir
=.
10728 for ac_exec_ext
in '' $ac_executable_extensions; do
10729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10730 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10741 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10742 if test -n "$aros_kernel_as"; then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10744 $as_echo "$aros_kernel_as" >&6; }
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10747 $as_echo "no" >&6; }
10752 if test "$aros_kernel_as" = ""; then
10753 for ac_prog
in $ac_tool_as
10755 # Extract the first word of "$ac_prog", so it can be a program name with args.
10756 set dummy
$ac_prog; ac_word
=$2
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10758 $as_echo_n "checking for $ac_word... " >&6; }
10759 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10760 $as_echo_n "(cached) " >&6
10762 case $aros_kernel_as in
10764 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10768 for as_dir
in $PATH
10771 test -z "$as_dir" && as_dir
=.
10772 for ac_exec_ext
in '' $ac_executable_extensions; do
10773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10774 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10785 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10786 if test -n "$aros_kernel_as"; then
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10788 $as_echo "$aros_kernel_as" >&6; }
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10791 $as_echo "no" >&6; }
10795 test -n "$aros_kernel_as" && break
10802 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10803 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10804 set dummy
$aros_kernel_as; ac_word
=$2
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10806 $as_echo_n "checking for $ac_word... " >&6; }
10807 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10808 $as_echo_n "(cached) " >&6
10810 case $aros_kernel_as in
10812 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10816 for as_dir
in $PATH
10819 test -z "$as_dir" && as_dir
=.
10820 for ac_exec_ext
in '' $ac_executable_extensions; do
10821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10822 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10833 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10834 if test -n "$aros_kernel_as"; then
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10836 $as_echo "$aros_kernel_as" >&6; }
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10839 $as_echo "no" >&6; }
10843 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10847 if test "$aros_kernel_as" = ""; then
10850 if test "$aros_kernel_as" = "no"; then
10853 if test "$req_avail" = "no"; then
10854 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10856 if test "x$aros_kernel_ar" = "x"; then
10857 aros_kernel_ar
=$aros_host_ar
10860 if test "$aros_kernel_ar" = ""; then
10861 if test "$cross_compiling" = "yes" ; then
10862 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10863 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10865 $as_echo_n "checking for $ac_word... " >&6; }
10866 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10867 $as_echo_n "(cached) " >&6
10869 case $aros_kernel_ar in
10871 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10875 for as_dir
in $PATH
10878 test -z "$as_dir" && as_dir
=.
10879 for ac_exec_ext
in '' $ac_executable_extensions; do
10880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10881 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10892 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10893 if test -n "$aros_kernel_ar"; then
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10895 $as_echo "$aros_kernel_ar" >&6; }
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10898 $as_echo "no" >&6; }
10904 if test "" = ""; then
10909 if test "$GCC" = "yes"; then
10910 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
10911 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10912 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10914 $as_echo_n "checking for $ac_word... " >&6; }
10915 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10916 $as_echo_n "(cached) " >&6
10918 case $aros_kernel_ar in
10920 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10924 for as_dir
in `dirname $aros_gcc_ar`
10927 test -z "$as_dir" && as_dir
=.
10928 for ac_exec_ext
in '' $ac_executable_extensions; do
10929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10930 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10941 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10942 if test -n "$aros_kernel_ar"; then
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10944 $as_echo "$aros_kernel_ar" >&6; }
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10947 $as_echo "no" >&6; }
10952 if test "$aros_kernel_ar" = ""; then
10953 for ac_prog
in $ac_tool_ar
10955 # Extract the first word of "$ac_prog", so it can be a program name with args.
10956 set dummy
$ac_prog; ac_word
=$2
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10958 $as_echo_n "checking for $ac_word... " >&6; }
10959 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10960 $as_echo_n "(cached) " >&6
10962 case $aros_kernel_ar in
10964 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10968 for as_dir
in $PATH
10971 test -z "$as_dir" && as_dir
=.
10972 for ac_exec_ext
in '' $ac_executable_extensions; do
10973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10974 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10985 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10986 if test -n "$aros_kernel_ar"; then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10988 $as_echo "$aros_kernel_ar" >&6; }
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10991 $as_echo "no" >&6; }
10995 test -n "$aros_kernel_ar" && break
11002 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
11003 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
11004 set dummy
$aros_kernel_ar; ac_word
=$2
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11006 $as_echo_n "checking for $ac_word... " >&6; }
11007 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
11008 $as_echo_n "(cached) " >&6
11010 case $aros_kernel_ar in
11012 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11016 for as_dir
in $PATH
11019 test -z "$as_dir" && as_dir
=.
11020 for ac_exec_ext
in '' $ac_executable_extensions; do
11021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11022 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11033 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11034 if test -n "$aros_kernel_ar"; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
11036 $as_echo "$aros_kernel_ar" >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11039 $as_echo "no" >&6; }
11043 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
11047 if test "$aros_kernel_ar" = ""; then
11050 if test "$aros_kernel_ar" = "no"; then
11053 if test "$req_avail" = "no"; then
11054 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11056 if test "x$aros_kernel_ranlib" = "x"; then
11057 aros_kernel_ranlib
=$aros_host_ranlib
11060 if test "$aros_kernel_ranlib" = ""; then
11061 if test "$cross_compiling" = "yes" ; then
11062 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
11063 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11065 $as_echo_n "checking for $ac_word... " >&6; }
11066 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11067 $as_echo_n "(cached) " >&6
11069 case $aros_kernel_ranlib in
11071 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11075 for as_dir
in $PATH
11078 test -z "$as_dir" && as_dir
=.
11079 for ac_exec_ext
in '' $ac_executable_extensions; do
11080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11081 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11092 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11093 if test -n "$aros_kernel_ranlib"; then
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11095 $as_echo "$aros_kernel_ranlib" >&6; }
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11098 $as_echo "no" >&6; }
11104 if test "" = ""; then
11105 ac_tool_ranlib
=ranlib
11109 if test "$GCC" = "yes"; then
11110 aros_gcc_ranlib
=`$CC -print-prog-name=$ac_tool_ranlib`
11111 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
11112 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11114 $as_echo_n "checking for $ac_word... " >&6; }
11115 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11116 $as_echo_n "(cached) " >&6
11118 case $aros_kernel_ranlib in
11120 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11124 for as_dir
in `dirname $aros_gcc_ranlib`
11127 test -z "$as_dir" && as_dir
=.
11128 for ac_exec_ext
in '' $ac_executable_extensions; do
11129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11130 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11141 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11142 if test -n "$aros_kernel_ranlib"; then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11144 $as_echo "$aros_kernel_ranlib" >&6; }
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11147 $as_echo "no" >&6; }
11152 if test "$aros_kernel_ranlib" = ""; then
11153 for ac_prog
in $ac_tool_ranlib
11155 # Extract the first word of "$ac_prog", so it can be a program name with args.
11156 set dummy
$ac_prog; ac_word
=$2
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11158 $as_echo_n "checking for $ac_word... " >&6; }
11159 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11160 $as_echo_n "(cached) " >&6
11162 case $aros_kernel_ranlib in
11164 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11168 for as_dir
in $PATH
11171 test -z "$as_dir" && as_dir
=.
11172 for ac_exec_ext
in '' $ac_executable_extensions; do
11173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11174 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11185 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11186 if test -n "$aros_kernel_ranlib"; then
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11188 $as_echo "$aros_kernel_ranlib" >&6; }
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11191 $as_echo "no" >&6; }
11195 test -n "$aros_kernel_ranlib" && break
11202 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
11203 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
11204 set dummy
$aros_kernel_ranlib; ac_word
=$2
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11206 $as_echo_n "checking for $ac_word... " >&6; }
11207 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11208 $as_echo_n "(cached) " >&6
11210 case $aros_kernel_ranlib in
11212 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11216 for as_dir
in $PATH
11219 test -z "$as_dir" && as_dir
=.
11220 for ac_exec_ext
in '' $ac_executable_extensions; do
11221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11222 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11233 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11234 if test -n "$aros_kernel_ranlib"; then
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11236 $as_echo "$aros_kernel_ranlib" >&6; }
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11239 $as_echo "no" >&6; }
11243 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
11247 if test "$aros_kernel_ranlib" = ""; then
11250 if test "$aros_kernel_ranlib" = "no"; then
11253 if test "$req_avail" = "no"; then
11254 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11256 if test "x$aros_kernel_nm" = "x"; then
11257 aros_kernel_nm
=$aros_host_nm
11258 if test "x$aros_kernel_nm" = "x"; then
11259 aros_kernel_nm
=${HOST_TOOLCHAIN_PREFIX}nm
${HOST_TOOLCHAIN_SUFFIX}
11263 if test "$aros_kernel_nm" = ""; then
11264 if test "$cross_compiling" = "yes" ; then
11265 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
11266 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11268 $as_echo_n "checking for $ac_word... " >&6; }
11269 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11270 $as_echo_n "(cached) " >&6
11272 case $aros_kernel_nm in
11274 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11278 for as_dir
in $PATH
11281 test -z "$as_dir" && as_dir
=.
11282 for ac_exec_ext
in '' $ac_executable_extensions; do
11283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11284 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11295 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11296 if test -n "$aros_kernel_nm"; then
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11298 $as_echo "$aros_kernel_nm" >&6; }
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11301 $as_echo "no" >&6; }
11307 if test "" = ""; then
11312 if test "$GCC" = "yes"; then
11313 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
11314 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11315 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11317 $as_echo_n "checking for $ac_word... " >&6; }
11318 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11319 $as_echo_n "(cached) " >&6
11321 case $aros_kernel_nm in
11323 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11327 for as_dir
in `dirname $aros_gcc_nm`
11330 test -z "$as_dir" && as_dir
=.
11331 for ac_exec_ext
in '' $ac_executable_extensions; do
11332 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11333 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11344 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11345 if test -n "$aros_kernel_nm"; then
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11347 $as_echo "$aros_kernel_nm" >&6; }
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11350 $as_echo "no" >&6; }
11355 if test "$aros_kernel_nm" = ""; then
11356 for ac_prog
in $ac_tool_nm
11358 # Extract the first word of "$ac_prog", so it can be a program name with args.
11359 set dummy
$ac_prog; ac_word
=$2
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11361 $as_echo_n "checking for $ac_word... " >&6; }
11362 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11363 $as_echo_n "(cached) " >&6
11365 case $aros_kernel_nm in
11367 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11371 for as_dir
in $PATH
11374 test -z "$as_dir" && as_dir
=.
11375 for ac_exec_ext
in '' $ac_executable_extensions; do
11376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11377 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11388 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11389 if test -n "$aros_kernel_nm"; then
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11391 $as_echo "$aros_kernel_nm" >&6; }
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11394 $as_echo "no" >&6; }
11398 test -n "$aros_kernel_nm" && break
11405 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
11406 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
11407 set dummy
$aros_kernel_nm; ac_word
=$2
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11409 $as_echo_n "checking for $ac_word... " >&6; }
11410 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11411 $as_echo_n "(cached) " >&6
11413 case $aros_kernel_nm in
11415 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11419 for as_dir
in $PATH
11422 test -z "$as_dir" && as_dir
=.
11423 for ac_exec_ext
in '' $ac_executable_extensions; do
11424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11425 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11436 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11437 if test -n "$aros_kernel_nm"; then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11439 $as_echo "$aros_kernel_nm" >&6; }
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11442 $as_echo "no" >&6; }
11446 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
11450 if test "$aros_kernel_nm" = ""; then
11453 if test "$aros_kernel_nm" = "no"; then
11456 if test "$req_avail" = "no"; then
11457 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11460 if test "$aros_kernel_strip" = ""; then
11461 if test "$cross_compiling" = "yes" ; then
11462 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
11463 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11465 $as_echo_n "checking for $ac_word... " >&6; }
11466 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11467 $as_echo_n "(cached) " >&6
11469 case $aros_kernel_strip in
11471 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11475 for as_dir
in $PATH
11478 test -z "$as_dir" && as_dir
=.
11479 for ac_exec_ext
in '' $ac_executable_extensions; do
11480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11481 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11492 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11493 if test -n "$aros_kernel_strip"; then
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11495 $as_echo "$aros_kernel_strip" >&6; }
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11498 $as_echo "no" >&6; }
11504 if test "" = ""; then
11505 ac_tool_strip
=strip
11509 if test "$GCC" = "yes"; then
11510 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
11511 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11512 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11514 $as_echo_n "checking for $ac_word... " >&6; }
11515 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11516 $as_echo_n "(cached) " >&6
11518 case $aros_kernel_strip in
11520 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11524 for as_dir
in `dirname $aros_gcc_strip`
11527 test -z "$as_dir" && as_dir
=.
11528 for ac_exec_ext
in '' $ac_executable_extensions; do
11529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11530 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11541 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11542 if test -n "$aros_kernel_strip"; then
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11544 $as_echo "$aros_kernel_strip" >&6; }
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11547 $as_echo "no" >&6; }
11552 if test "$aros_kernel_strip" = ""; then
11553 for ac_prog
in $ac_tool_strip
11555 # Extract the first word of "$ac_prog", so it can be a program name with args.
11556 set dummy
$ac_prog; ac_word
=$2
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11558 $as_echo_n "checking for $ac_word... " >&6; }
11559 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11560 $as_echo_n "(cached) " >&6
11562 case $aros_kernel_strip in
11564 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11568 for as_dir
in $PATH
11571 test -z "$as_dir" && as_dir
=.
11572 for ac_exec_ext
in '' $ac_executable_extensions; do
11573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11574 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11585 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11586 if test -n "$aros_kernel_strip"; then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11588 $as_echo "$aros_kernel_strip" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11591 $as_echo "no" >&6; }
11595 test -n "$aros_kernel_strip" && break
11602 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11603 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11604 set dummy
$aros_kernel_strip; ac_word
=$2
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11606 $as_echo_n "checking for $ac_word... " >&6; }
11607 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11608 $as_echo_n "(cached) " >&6
11610 case $aros_kernel_strip in
11612 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11616 for as_dir
in $PATH
11619 test -z "$as_dir" && as_dir
=.
11620 for ac_exec_ext
in '' $ac_executable_extensions; do
11621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11622 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11633 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11634 if test -n "$aros_kernel_strip"; then
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11636 $as_echo "$aros_kernel_strip" >&6; }
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11639 $as_echo "no" >&6; }
11643 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11647 if test "$aros_kernel_strip" = ""; then
11650 if test "$aros_kernel_strip" = "no"; then
11653 if test "$req_avail" = "no"; then
11654 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11657 # Objcopy and objdump are not required for the kernel
11658 # toolchain on many architectures.
11659 # So we'll look for them, but not make them strictly required.
11660 if test "x$aros_kernel_objcopy" = "x"; then
11661 aros_kernel_objcopy
=$aros_host_objcopy
11662 if test "x$aros_kernel_objcopy" = "x"; then
11663 aros_kernel_objcopy
=${HOST_TOOLCHAIN_PREFIX}objcopy
${HOST_TOOLCHAIN_SUFFIX}
11667 if test "$aros_kernel_objcopy" = ""; then
11668 if test "$cross_compiling" = "yes" ; then
11669 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11670 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11672 $as_echo_n "checking for $ac_word... " >&6; }
11673 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11674 $as_echo_n "(cached) " >&6
11676 case $aros_kernel_objcopy in
11678 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11682 for as_dir
in $PATH
11685 test -z "$as_dir" && as_dir
=.
11686 for ac_exec_ext
in '' $ac_executable_extensions; do
11687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11688 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11699 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11700 if test -n "$aros_kernel_objcopy"; then
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11702 $as_echo "$aros_kernel_objcopy" >&6; }
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11705 $as_echo "no" >&6; }
11711 if test "" = ""; then
11712 ac_tool_objcopy
=objcopy
11716 if test "$GCC" = "yes"; then
11717 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
11718 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11719 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11721 $as_echo_n "checking for $ac_word... " >&6; }
11722 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11723 $as_echo_n "(cached) " >&6
11725 case $aros_kernel_objcopy in
11727 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11731 for as_dir
in `dirname $aros_gcc_objcopy`
11734 test -z "$as_dir" && as_dir
=.
11735 for ac_exec_ext
in '' $ac_executable_extensions; do
11736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11737 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11749 if test -n "$aros_kernel_objcopy"; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11751 $as_echo "$aros_kernel_objcopy" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754 $as_echo "no" >&6; }
11759 if test "$aros_kernel_objcopy" = ""; then
11760 for ac_prog
in $ac_tool_objcopy
11762 # Extract the first word of "$ac_prog", so it can be a program name with args.
11763 set dummy
$ac_prog; ac_word
=$2
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11765 $as_echo_n "checking for $ac_word... " >&6; }
11766 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11767 $as_echo_n "(cached) " >&6
11769 case $aros_kernel_objcopy in
11771 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11775 for as_dir
in $PATH
11778 test -z "$as_dir" && as_dir
=.
11779 for ac_exec_ext
in '' $ac_executable_extensions; do
11780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11781 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11792 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11793 if test -n "$aros_kernel_objcopy"; then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11795 $as_echo "$aros_kernel_objcopy" >&6; }
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11798 $as_echo "no" >&6; }
11802 test -n "$aros_kernel_objcopy" && break
11809 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11810 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11811 set dummy
$aros_kernel_objcopy; ac_word
=$2
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11813 $as_echo_n "checking for $ac_word... " >&6; }
11814 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11815 $as_echo_n "(cached) " >&6
11817 case $aros_kernel_objcopy in
11819 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11823 for as_dir
in $PATH
11826 test -z "$as_dir" && as_dir
=.
11827 for ac_exec_ext
in '' $ac_executable_extensions; do
11828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11829 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11840 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11841 if test -n "$aros_kernel_objcopy"; then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11843 $as_echo "$aros_kernel_objcopy" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11850 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11853 if test "x$aros_kernel_objdump" = "x"; then
11854 aros_kernel_objdump
=$aros_host_objdump
11855 if test "x$aros_kernel_objdump" = "x"; then
11856 aros_kernel_objdump
=${HOST_TOOLCHAIN_PREFIX}objdump
${HOST_TOOLCHAIN_SUFFIX}
11860 if test "$aros_kernel_objdump" = ""; then
11861 if test "$cross_compiling" = "yes" ; then
11862 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11863 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11865 $as_echo_n "checking for $ac_word... " >&6; }
11866 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11867 $as_echo_n "(cached) " >&6
11869 case $aros_kernel_objdump in
11871 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11875 for as_dir
in $PATH
11878 test -z "$as_dir" && as_dir
=.
11879 for ac_exec_ext
in '' $ac_executable_extensions; do
11880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11881 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11892 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11893 if test -n "$aros_kernel_objdump"; then
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11895 $as_echo "$aros_kernel_objdump" >&6; }
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11898 $as_echo "no" >&6; }
11904 if test "" = ""; then
11905 ac_tool_objdump
=objdump
11909 if test "$GCC" = "yes"; then
11910 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
11911 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11912 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11914 $as_echo_n "checking for $ac_word... " >&6; }
11915 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11916 $as_echo_n "(cached) " >&6
11918 case $aros_kernel_objdump in
11920 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11924 for as_dir
in `dirname $aros_gcc_objdump`
11927 test -z "$as_dir" && as_dir
=.
11928 for ac_exec_ext
in '' $ac_executable_extensions; do
11929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11930 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11941 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11942 if test -n "$aros_kernel_objdump"; then
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11944 $as_echo "$aros_kernel_objdump" >&6; }
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11947 $as_echo "no" >&6; }
11952 if test "$aros_kernel_objdump" = ""; then
11953 for ac_prog
in $ac_tool_objdump
11955 # Extract the first word of "$ac_prog", so it can be a program name with args.
11956 set dummy
$ac_prog; ac_word
=$2
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11958 $as_echo_n "checking for $ac_word... " >&6; }
11959 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11960 $as_echo_n "(cached) " >&6
11962 case $aros_kernel_objdump in
11964 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11968 for as_dir
in $PATH
11971 test -z "$as_dir" && as_dir
=.
11972 for ac_exec_ext
in '' $ac_executable_extensions; do
11973 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11974 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11985 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11986 if test -n "$aros_kernel_objdump"; then
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11988 $as_echo "$aros_kernel_objdump" >&6; }
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11991 $as_echo "no" >&6; }
11995 test -n "$aros_kernel_objdump" && break
12002 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
12003 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
12004 set dummy
$aros_kernel_objdump; ac_word
=$2
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12006 $as_echo_n "checking for $ac_word... " >&6; }
12007 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
12008 $as_echo_n "(cached) " >&6
12010 case $aros_kernel_objdump in
12012 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
12015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12016 for as_dir
in $PATH
12019 test -z "$as_dir" && as_dir
=.
12020 for ac_exec_ext
in '' $ac_executable_extensions; do
12021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12022 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
12023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12033 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
12034 if test -n "$aros_kernel_objdump"; then
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
12036 $as_echo "$aros_kernel_objdump" >&6; }
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12039 $as_echo "no" >&6; }
12043 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
12046 if test "x${crosstools}" != "xyes" ; then
12048 if test "$aros_kernel_objcopy" = ""; then
12051 if test "$aros_kernel_objcopy" = "no"; then
12054 if test "$req_avail" = "no"; then
12055 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12058 if test "$aros_kernel_objdump" = ""; then
12061 if test "$aros_kernel_objdump" = "no"; then
12064 if test "$req_avail" = "no"; then
12065 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
12072 $as_echo_n "checking which target tools to use... " >&6; }
12073 if test "$aros_target_toolchain" = "yes"; then
12074 if test "$aros_toolchain" = "llvm" ; then
12077 msg_result
=$target_tool_prefix
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
12080 $as_echo "$msg_result" >&6; }
12081 # We are building AROS crosstools
12082 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
12083 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
12084 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
12085 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
12086 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
12087 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
12088 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
12089 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
12090 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
12091 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
12092 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
12093 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
12095 # Determine whether AROS or ELF tools should be used
12096 if test "$aros_tool_prefix" = "none"; then
12097 aros_tool_prefix
="${elf_tool_prefix}"
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
12101 $as_echo "$aros_tool_prefix" >&6; }
12102 # We are *not* building AROS crosstools - use the AROS or ELF tools
12104 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
12105 if test "$cross_compiling" = "yes" ; then
12106 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
12107 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12109 $as_echo_n "checking for $ac_word... " >&6; }
12110 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12111 $as_echo_n "(cached) " >&6
12113 case $orig_target_cpp in
12115 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12119 for as_dir
in $PATH
12122 test -z "$as_dir" && as_dir
=.
12123 for ac_exec_ext
in '' $ac_executable_extensions; do
12124 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12125 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12136 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12137 if test -n "$orig_target_cpp"; then
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12139 $as_echo "$orig_target_cpp" >&6; }
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12142 $as_echo "no" >&6; }
12148 if test "" = ""; then
12153 if test "$GCC" = "yes"; then
12154 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
12155 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
12156 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12158 $as_echo_n "checking for $ac_word... " >&6; }
12159 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12160 $as_echo_n "(cached) " >&6
12162 case $orig_target_cpp in
12164 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12168 for as_dir
in `dirname $aros_gcc_cpp`
12171 test -z "$as_dir" && as_dir
=.
12172 for ac_exec_ext
in '' $ac_executable_extensions; do
12173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12174 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12185 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12186 if test -n "$orig_target_cpp"; then
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12188 $as_echo "$orig_target_cpp" >&6; }
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12191 $as_echo "no" >&6; }
12196 if test "$orig_target_cpp" = ""; then
12197 for ac_prog
in $ac_tool_cpp
12199 # Extract the first word of "$ac_prog", so it can be a program name with args.
12200 set dummy
$ac_prog; ac_word
=$2
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12202 $as_echo_n "checking for $ac_word... " >&6; }
12203 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12204 $as_echo_n "(cached) " >&6
12206 case $orig_target_cpp in
12208 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12212 for as_dir
in $PATH
12215 test -z "$as_dir" && as_dir
=.
12216 for ac_exec_ext
in '' $ac_executable_extensions; do
12217 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12218 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12229 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12230 if test -n "$orig_target_cpp"; then
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12232 $as_echo "$orig_target_cpp" >&6; }
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12235 $as_echo "no" >&6; }
12239 test -n "$orig_target_cpp" && break
12246 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
12247 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
12248 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12250 $as_echo_n "checking for $ac_word... " >&6; }
12251 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12252 $as_echo_n "(cached) " >&6
12254 case $orig_target_cpp in
12256 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12260 for as_dir
in $PATH
12263 test -z "$as_dir" && as_dir
=.
12264 for ac_exec_ext
in '' $ac_executable_extensions; do
12265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12266 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12277 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12278 if test -n "$orig_target_cpp"; then
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12280 $as_echo "$orig_target_cpp" >&6; }
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12283 $as_echo "no" >&6; }
12287 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
12291 if test "$orig_target_cpp" = ""; then
12294 if test "$orig_target_cpp" = "no"; then
12297 if test "$req_avail" = "no"; then
12298 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
12301 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
12302 if test "$cross_compiling" = "yes" ; then
12303 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12304 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12306 $as_echo_n "checking for $ac_word... " >&6; }
12307 if ${ac_cv_path_orig_target_cc+:} false
; then :
12308 $as_echo_n "(cached) " >&6
12310 case $orig_target_cc in
12312 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12316 for as_dir
in $PATH
12319 test -z "$as_dir" && as_dir
=.
12320 for ac_exec_ext
in '' $ac_executable_extensions; do
12321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12322 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12333 orig_target_cc
=$ac_cv_path_orig_target_cc
12334 if test -n "$orig_target_cc"; then
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12336 $as_echo "$orig_target_cc" >&6; }
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12345 if test "" = ""; then
12350 if test "$GCC" = "yes"; then
12351 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12352 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12353 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12355 $as_echo_n "checking for $ac_word... " >&6; }
12356 if ${ac_cv_path_orig_target_cc+:} false
; then :
12357 $as_echo_n "(cached) " >&6
12359 case $orig_target_cc in
12361 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12365 for as_dir
in `dirname $aros_gcc_gcc`
12368 test -z "$as_dir" && as_dir
=.
12369 for ac_exec_ext
in '' $ac_executable_extensions; do
12370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12371 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12382 orig_target_cc
=$ac_cv_path_orig_target_cc
12383 if test -n "$orig_target_cc"; then
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12385 $as_echo "$orig_target_cc" >&6; }
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12388 $as_echo "no" >&6; }
12393 if test "$orig_target_cc" = ""; then
12394 for ac_prog
in $ac_tool_gcc
12396 # Extract the first word of "$ac_prog", so it can be a program name with args.
12397 set dummy
$ac_prog; ac_word
=$2
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12399 $as_echo_n "checking for $ac_word... " >&6; }
12400 if ${ac_cv_path_orig_target_cc+:} false
; then :
12401 $as_echo_n "(cached) " >&6
12403 case $orig_target_cc in
12405 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12409 for as_dir
in $PATH
12412 test -z "$as_dir" && as_dir
=.
12413 for ac_exec_ext
in '' $ac_executable_extensions; do
12414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12415 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12426 orig_target_cc
=$ac_cv_path_orig_target_cc
12427 if test -n "$orig_target_cc"; then
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12429 $as_echo "$orig_target_cc" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432 $as_echo "no" >&6; }
12436 test -n "$orig_target_cc" && break
12443 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12444 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
12445 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12447 $as_echo_n "checking for $ac_word... " >&6; }
12448 if ${ac_cv_path_orig_target_cc+:} false
; then :
12449 $as_echo_n "(cached) " >&6
12451 case $orig_target_cc in
12453 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12457 for as_dir
in $PATH
12460 test -z "$as_dir" && as_dir
=.
12461 for ac_exec_ext
in '' $ac_executable_extensions; do
12462 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12463 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12474 orig_target_cc
=$ac_cv_path_orig_target_cc
12475 if test -n "$orig_target_cc"; then
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12477 $as_echo "$orig_target_cc" >&6; }
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12480 $as_echo "no" >&6; }
12484 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
12488 if test "$orig_target_cc" = ""; then
12491 if test "$orig_target_cc" = "no"; then
12494 if test "$req_avail" = "no"; then
12495 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
12498 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
12499 if test "$cross_compiling" = "yes" ; then
12500 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
12501 set dummy
${target_tool_prefix}g
++; ac_word
=$2
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12503 $as_echo_n "checking for $ac_word... " >&6; }
12504 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12505 $as_echo_n "(cached) " >&6
12507 case $orig_target_cxx in
12509 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12513 for as_dir
in $PATH
12516 test -z "$as_dir" && as_dir
=.
12517 for ac_exec_ext
in '' $ac_executable_extensions; do
12518 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12519 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12530 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12531 if test -n "$orig_target_cxx"; then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12533 $as_echo "$orig_target_cxx" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12536 $as_echo "no" >&6; }
12542 if test "" = ""; then
12547 if test "$GCC" = "yes"; then
12548 aros_gcc_g
++=`$CC -print-prog-name=$ac_tool_g++`
12549 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
12550 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12552 $as_echo_n "checking for $ac_word... " >&6; }
12553 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12554 $as_echo_n "(cached) " >&6
12556 case $orig_target_cxx in
12558 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12562 for as_dir
in `dirname $aros_gcc_g++`
12565 test -z "$as_dir" && as_dir
=.
12566 for ac_exec_ext
in '' $ac_executable_extensions; do
12567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12568 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12579 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12580 if test -n "$orig_target_cxx"; then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12582 $as_echo "$orig_target_cxx" >&6; }
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12585 $as_echo "no" >&6; }
12590 if test "$orig_target_cxx" = ""; then
12591 for ac_prog
in $ac_tool_g++
12593 # Extract the first word of "$ac_prog", so it can be a program name with args.
12594 set dummy
$ac_prog; ac_word
=$2
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12596 $as_echo_n "checking for $ac_word... " >&6; }
12597 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12598 $as_echo_n "(cached) " >&6
12600 case $orig_target_cxx in
12602 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12606 for as_dir
in $PATH
12609 test -z "$as_dir" && as_dir
=.
12610 for ac_exec_ext
in '' $ac_executable_extensions; do
12611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12612 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12623 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12624 if test -n "$orig_target_cxx"; then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12626 $as_echo "$orig_target_cxx" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12629 $as_echo "no" >&6; }
12633 test -n "$orig_target_cxx" && break
12640 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12641 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12642 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12644 $as_echo_n "checking for $ac_word... " >&6; }
12645 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12646 $as_echo_n "(cached) " >&6
12648 case $orig_target_cxx in
12650 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12654 for as_dir
in $PATH
12657 test -z "$as_dir" && as_dir
=.
12658 for ac_exec_ext
in '' $ac_executable_extensions; do
12659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12660 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12671 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12672 if test -n "$orig_target_cxx"; then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12674 $as_echo "$orig_target_cxx" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12681 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12685 if test "$orig_target_cxx" = ""; then
12688 if test "$orig_target_cxx" = "no"; then
12691 if test "$req_avail" = "no"; then
12692 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12695 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12696 if test "$cross_compiling" = "yes" ; then
12697 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12698 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12700 $as_echo_n "checking for $ac_word... " >&6; }
12701 if ${ac_cv_path_orig_target_ld+:} false
; then :
12702 $as_echo_n "(cached) " >&6
12704 case $orig_target_ld in
12706 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12710 for as_dir
in $PATH
12713 test -z "$as_dir" && as_dir
=.
12714 for ac_exec_ext
in '' $ac_executable_extensions; do
12715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12716 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12727 orig_target_ld
=$ac_cv_path_orig_target_ld
12728 if test -n "$orig_target_ld"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12730 $as_echo "$orig_target_ld" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733 $as_echo "no" >&6; }
12739 if test "" = ""; then
12744 if test "$GCC" = "yes"; then
12745 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12746 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12747 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12749 $as_echo_n "checking for $ac_word... " >&6; }
12750 if ${ac_cv_path_orig_target_ld+:} false
; then :
12751 $as_echo_n "(cached) " >&6
12753 case $orig_target_ld in
12755 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12759 for as_dir
in `dirname $aros_gcc_gcc`
12762 test -z "$as_dir" && as_dir
=.
12763 for ac_exec_ext
in '' $ac_executable_extensions; do
12764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12765 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12776 orig_target_ld
=$ac_cv_path_orig_target_ld
12777 if test -n "$orig_target_ld"; then
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12779 $as_echo "$orig_target_ld" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12782 $as_echo "no" >&6; }
12787 if test "$orig_target_ld" = ""; then
12788 for ac_prog
in $ac_tool_gcc
12790 # Extract the first word of "$ac_prog", so it can be a program name with args.
12791 set dummy
$ac_prog; ac_word
=$2
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12793 $as_echo_n "checking for $ac_word... " >&6; }
12794 if ${ac_cv_path_orig_target_ld+:} false
; then :
12795 $as_echo_n "(cached) " >&6
12797 case $orig_target_ld in
12799 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12803 for as_dir
in $PATH
12806 test -z "$as_dir" && as_dir
=.
12807 for ac_exec_ext
in '' $ac_executable_extensions; do
12808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12809 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12820 orig_target_ld
=$ac_cv_path_orig_target_ld
12821 if test -n "$orig_target_ld"; then
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12823 $as_echo "$orig_target_ld" >&6; }
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12826 $as_echo "no" >&6; }
12830 test -n "$orig_target_ld" && break
12837 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12838 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12839 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12841 $as_echo_n "checking for $ac_word... " >&6; }
12842 if ${ac_cv_path_orig_target_ld+:} false
; then :
12843 $as_echo_n "(cached) " >&6
12845 case $orig_target_ld in
12847 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12851 for as_dir
in $PATH
12854 test -z "$as_dir" && as_dir
=.
12855 for ac_exec_ext
in '' $ac_executable_extensions; do
12856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12857 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12868 orig_target_ld
=$ac_cv_path_orig_target_ld
12869 if test -n "$orig_target_ld"; then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12871 $as_echo "$orig_target_ld" >&6; }
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12874 $as_echo "no" >&6; }
12878 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12882 if test "$orig_target_ld" = ""; then
12885 if test "$orig_target_ld" = "no"; then
12888 if test "$req_avail" = "no"; then
12889 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12892 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12893 if test "$cross_compiling" = "yes" ; then
12894 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12895 set dummy
${target_tool_prefix}as
; ac_word
=$2
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12897 $as_echo_n "checking for $ac_word... " >&6; }
12898 if ${ac_cv_path_orig_target_as+:} false
; then :
12899 $as_echo_n "(cached) " >&6
12901 case $orig_target_as in
12903 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12907 for as_dir
in $PATH
12910 test -z "$as_dir" && as_dir
=.
12911 for ac_exec_ext
in '' $ac_executable_extensions; do
12912 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12913 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12924 orig_target_as
=$ac_cv_path_orig_target_as
12925 if test -n "$orig_target_as"; then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12927 $as_echo "$orig_target_as" >&6; }
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12930 $as_echo "no" >&6; }
12936 if test "" = ""; then
12941 if test "$GCC" = "yes"; then
12942 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
12943 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12944 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12946 $as_echo_n "checking for $ac_word... " >&6; }
12947 if ${ac_cv_path_orig_target_as+:} false
; then :
12948 $as_echo_n "(cached) " >&6
12950 case $orig_target_as in
12952 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12956 for as_dir
in `dirname $aros_gcc_as`
12959 test -z "$as_dir" && as_dir
=.
12960 for ac_exec_ext
in '' $ac_executable_extensions; do
12961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12962 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12973 orig_target_as
=$ac_cv_path_orig_target_as
12974 if test -n "$orig_target_as"; then
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12976 $as_echo "$orig_target_as" >&6; }
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12979 $as_echo "no" >&6; }
12984 if test "$orig_target_as" = ""; then
12985 for ac_prog
in $ac_tool_as
12987 # Extract the first word of "$ac_prog", so it can be a program name with args.
12988 set dummy
$ac_prog; ac_word
=$2
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12990 $as_echo_n "checking for $ac_word... " >&6; }
12991 if ${ac_cv_path_orig_target_as+:} false
; then :
12992 $as_echo_n "(cached) " >&6
12994 case $orig_target_as in
12996 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13000 for as_dir
in $PATH
13003 test -z "$as_dir" && as_dir
=.
13004 for ac_exec_ext
in '' $ac_executable_extensions; do
13005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13006 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13017 orig_target_as
=$ac_cv_path_orig_target_as
13018 if test -n "$orig_target_as"; then
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13020 $as_echo "$orig_target_as" >&6; }
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13023 $as_echo "no" >&6; }
13027 test -n "$orig_target_as" && break
13034 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
13035 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
13036 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13038 $as_echo_n "checking for $ac_word... " >&6; }
13039 if ${ac_cv_path_orig_target_as+:} false
; then :
13040 $as_echo_n "(cached) " >&6
13042 case $orig_target_as in
13044 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13048 for as_dir
in $PATH
13051 test -z "$as_dir" && as_dir
=.
13052 for ac_exec_ext
in '' $ac_executable_extensions; do
13053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13054 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13065 orig_target_as
=$ac_cv_path_orig_target_as
13066 if test -n "$orig_target_as"; then
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13068 $as_echo "$orig_target_as" >&6; }
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13071 $as_echo "no" >&6; }
13075 orig_target_as
="$orig_target_as $ac_tool_optarg"
13079 if test "$orig_target_as" = ""; then
13082 if test "$orig_target_as" = "no"; then
13085 if test "$req_avail" = "no"; then
13086 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
13089 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
13090 if test "$cross_compiling" = "yes" ; then
13091 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13092 set dummy
${target_tool_prefix}ar; ac_word
=$2
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13094 $as_echo_n "checking for $ac_word... " >&6; }
13095 if ${ac_cv_path_orig_target_ar+:} false
; then :
13096 $as_echo_n "(cached) " >&6
13098 case $orig_target_ar in
13100 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13104 for as_dir
in $PATH
13107 test -z "$as_dir" && as_dir
=.
13108 for ac_exec_ext
in '' $ac_executable_extensions; do
13109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13110 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13121 orig_target_ar
=$ac_cv_path_orig_target_ar
13122 if test -n "$orig_target_ar"; then
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13124 $as_echo "$orig_target_ar" >&6; }
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13127 $as_echo "no" >&6; }
13133 if test "" = ""; then
13138 if test "$GCC" = "yes"; then
13139 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13140 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13141 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13143 $as_echo_n "checking for $ac_word... " >&6; }
13144 if ${ac_cv_path_orig_target_ar+:} false
; then :
13145 $as_echo_n "(cached) " >&6
13147 case $orig_target_ar in
13149 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13153 for as_dir
in `dirname $aros_gcc_ar`
13156 test -z "$as_dir" && as_dir
=.
13157 for ac_exec_ext
in '' $ac_executable_extensions; do
13158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13159 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13170 orig_target_ar
=$ac_cv_path_orig_target_ar
13171 if test -n "$orig_target_ar"; then
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13173 $as_echo "$orig_target_ar" >&6; }
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13176 $as_echo "no" >&6; }
13181 if test "$orig_target_ar" = ""; then
13182 for ac_prog
in $ac_tool_ar
13184 # Extract the first word of "$ac_prog", so it can be a program name with args.
13185 set dummy
$ac_prog; ac_word
=$2
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13187 $as_echo_n "checking for $ac_word... " >&6; }
13188 if ${ac_cv_path_orig_target_ar+:} false
; then :
13189 $as_echo_n "(cached) " >&6
13191 case $orig_target_ar in
13193 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13197 for as_dir
in $PATH
13200 test -z "$as_dir" && as_dir
=.
13201 for ac_exec_ext
in '' $ac_executable_extensions; do
13202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13203 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13214 orig_target_ar
=$ac_cv_path_orig_target_ar
13215 if test -n "$orig_target_ar"; then
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13217 $as_echo "$orig_target_ar" >&6; }
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13220 $as_echo "no" >&6; }
13224 test -n "$orig_target_ar" && break
13231 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
13232 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
13233 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13235 $as_echo_n "checking for $ac_word... " >&6; }
13236 if ${ac_cv_path_orig_target_ar+:} false
; then :
13237 $as_echo_n "(cached) " >&6
13239 case $orig_target_ar in
13241 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13245 for as_dir
in $PATH
13248 test -z "$as_dir" && as_dir
=.
13249 for ac_exec_ext
in '' $ac_executable_extensions; do
13250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13251 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13262 orig_target_ar
=$ac_cv_path_orig_target_ar
13263 if test -n "$orig_target_ar"; then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13265 $as_echo "$orig_target_ar" >&6; }
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13268 $as_echo "no" >&6; }
13272 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
13276 if test "$orig_target_ar" = ""; then
13279 if test "$orig_target_ar" = "no"; then
13282 if test "$req_avail" = "no"; then
13283 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
13286 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
13287 if test "$cross_compiling" = "yes" ; then
13288 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13289 set dummy
${target_tool_prefix}ar; ac_word
=$2
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13291 $as_echo_n "checking for $ac_word... " >&6; }
13292 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13293 $as_echo_n "(cached) " >&6
13295 case $orig_target_ranlib in
13297 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13301 for as_dir
in $PATH
13304 test -z "$as_dir" && as_dir
=.
13305 for ac_exec_ext
in '' $ac_executable_extensions; do
13306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13307 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13318 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13319 if test -n "$orig_target_ranlib"; then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13321 $as_echo "$orig_target_ranlib" >&6; }
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13324 $as_echo "no" >&6; }
13330 if test "" = ""; then
13335 if test "$GCC" = "yes"; then
13336 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13337 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13338 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13340 $as_echo_n "checking for $ac_word... " >&6; }
13341 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 case $orig_target_ranlib in
13346 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13350 for as_dir
in `dirname $aros_gcc_ar`
13353 test -z "$as_dir" && as_dir
=.
13354 for ac_exec_ext
in '' $ac_executable_extensions; do
13355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13356 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13367 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13368 if test -n "$orig_target_ranlib"; then
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13370 $as_echo "$orig_target_ranlib" >&6; }
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13373 $as_echo "no" >&6; }
13378 if test "$orig_target_ranlib" = ""; then
13379 for ac_prog
in $ac_tool_ar
13381 # Extract the first word of "$ac_prog", so it can be a program name with args.
13382 set dummy
$ac_prog; ac_word
=$2
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13384 $as_echo_n "checking for $ac_word... " >&6; }
13385 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13386 $as_echo_n "(cached) " >&6
13388 case $orig_target_ranlib in
13390 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13394 for as_dir
in $PATH
13397 test -z "$as_dir" && as_dir
=.
13398 for ac_exec_ext
in '' $ac_executable_extensions; do
13399 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13400 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13411 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13412 if test -n "$orig_target_ranlib"; then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13414 $as_echo "$orig_target_ranlib" >&6; }
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13417 $as_echo "no" >&6; }
13421 test -n "$orig_target_ranlib" && break
13428 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
13429 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
13430 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13432 $as_echo_n "checking for $ac_word... " >&6; }
13433 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13434 $as_echo_n "(cached) " >&6
13436 case $orig_target_ranlib in
13438 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13442 for as_dir
in $PATH
13445 test -z "$as_dir" && as_dir
=.
13446 for ac_exec_ext
in '' $ac_executable_extensions; do
13447 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13448 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13459 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13460 if test -n "$orig_target_ranlib"; then
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13462 $as_echo "$orig_target_ranlib" >&6; }
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13465 $as_echo "no" >&6; }
13469 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
13473 if test "$orig_target_ranlib" = ""; then
13476 if test "$orig_target_ranlib" = "no"; then
13479 if test "$req_avail" = "no"; then
13480 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
13483 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
13484 if test "$cross_compiling" = "yes" ; then
13485 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
13486 set dummy
${target_tool_prefix}nm
; ac_word
=$2
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13488 $as_echo_n "checking for $ac_word... " >&6; }
13489 if ${ac_cv_path_orig_target_nm+:} false
; then :
13490 $as_echo_n "(cached) " >&6
13492 case $orig_target_nm in
13494 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13498 for as_dir
in $PATH
13501 test -z "$as_dir" && as_dir
=.
13502 for ac_exec_ext
in '' $ac_executable_extensions; do
13503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13504 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13515 orig_target_nm
=$ac_cv_path_orig_target_nm
13516 if test -n "$orig_target_nm"; then
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13518 $as_echo "$orig_target_nm" >&6; }
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13521 $as_echo "no" >&6; }
13527 if test "" = ""; then
13532 if test "$GCC" = "yes"; then
13533 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
13534 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
13535 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13537 $as_echo_n "checking for $ac_word... " >&6; }
13538 if ${ac_cv_path_orig_target_nm+:} false
; then :
13539 $as_echo_n "(cached) " >&6
13541 case $orig_target_nm in
13543 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13547 for as_dir
in `dirname $aros_gcc_nm`
13550 test -z "$as_dir" && as_dir
=.
13551 for ac_exec_ext
in '' $ac_executable_extensions; do
13552 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13553 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13564 orig_target_nm
=$ac_cv_path_orig_target_nm
13565 if test -n "$orig_target_nm"; then
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13567 $as_echo "$orig_target_nm" >&6; }
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13570 $as_echo "no" >&6; }
13575 if test "$orig_target_nm" = ""; then
13576 for ac_prog
in $ac_tool_nm
13578 # Extract the first word of "$ac_prog", so it can be a program name with args.
13579 set dummy
$ac_prog; ac_word
=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13581 $as_echo_n "checking for $ac_word... " >&6; }
13582 if ${ac_cv_path_orig_target_nm+:} false
; then :
13583 $as_echo_n "(cached) " >&6
13585 case $orig_target_nm in
13587 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13591 for as_dir
in $PATH
13594 test -z "$as_dir" && as_dir
=.
13595 for ac_exec_ext
in '' $ac_executable_extensions; do
13596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13597 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13608 orig_target_nm
=$ac_cv_path_orig_target_nm
13609 if test -n "$orig_target_nm"; then
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13611 $as_echo "$orig_target_nm" >&6; }
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13614 $as_echo "no" >&6; }
13618 test -n "$orig_target_nm" && break
13625 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
13626 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
13627 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13629 $as_echo_n "checking for $ac_word... " >&6; }
13630 if ${ac_cv_path_orig_target_nm+:} false
; then :
13631 $as_echo_n "(cached) " >&6
13633 case $orig_target_nm in
13635 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13639 for as_dir
in $PATH
13642 test -z "$as_dir" && as_dir
=.
13643 for ac_exec_ext
in '' $ac_executable_extensions; do
13644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13645 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13656 orig_target_nm
=$ac_cv_path_orig_target_nm
13657 if test -n "$orig_target_nm"; then
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13659 $as_echo "$orig_target_nm" >&6; }
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13662 $as_echo "no" >&6; }
13666 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13670 if test "$orig_target_nm" = ""; then
13673 if test "$orig_target_nm" = "no"; then
13676 if test "$req_avail" = "no"; then
13677 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13680 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13681 if test "$cross_compiling" = "yes" ; then
13682 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13683 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13685 $as_echo_n "checking for $ac_word... " >&6; }
13686 if ${ac_cv_path_orig_target_strip+:} false
; then :
13687 $as_echo_n "(cached) " >&6
13689 case $orig_target_strip in
13691 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13695 for as_dir
in $PATH
13698 test -z "$as_dir" && as_dir
=.
13699 for ac_exec_ext
in '' $ac_executable_extensions; do
13700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13701 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13712 orig_target_strip
=$ac_cv_path_orig_target_strip
13713 if test -n "$orig_target_strip"; then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13715 $as_echo "$orig_target_strip" >&6; }
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13718 $as_echo "no" >&6; }
13724 if test "" = ""; then
13725 ac_tool_strip
=strip
13729 if test "$GCC" = "yes"; then
13730 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
13731 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13732 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13734 $as_echo_n "checking for $ac_word... " >&6; }
13735 if ${ac_cv_path_orig_target_strip+:} false
; then :
13736 $as_echo_n "(cached) " >&6
13738 case $orig_target_strip in
13740 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13744 for as_dir
in `dirname $aros_gcc_strip`
13747 test -z "$as_dir" && as_dir
=.
13748 for ac_exec_ext
in '' $ac_executable_extensions; do
13749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13750 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13761 orig_target_strip
=$ac_cv_path_orig_target_strip
13762 if test -n "$orig_target_strip"; then
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13764 $as_echo "$orig_target_strip" >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13767 $as_echo "no" >&6; }
13772 if test "$orig_target_strip" = ""; then
13773 for ac_prog
in $ac_tool_strip
13775 # Extract the first word of "$ac_prog", so it can be a program name with args.
13776 set dummy
$ac_prog; ac_word
=$2
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13778 $as_echo_n "checking for $ac_word... " >&6; }
13779 if ${ac_cv_path_orig_target_strip+:} false
; then :
13780 $as_echo_n "(cached) " >&6
13782 case $orig_target_strip in
13784 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13788 for as_dir
in $PATH
13791 test -z "$as_dir" && as_dir
=.
13792 for ac_exec_ext
in '' $ac_executable_extensions; do
13793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13794 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13805 orig_target_strip
=$ac_cv_path_orig_target_strip
13806 if test -n "$orig_target_strip"; then
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13808 $as_echo "$orig_target_strip" >&6; }
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13811 $as_echo "no" >&6; }
13815 test -n "$orig_target_strip" && break
13822 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13823 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13824 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13826 $as_echo_n "checking for $ac_word... " >&6; }
13827 if ${ac_cv_path_orig_target_strip+:} false
; then :
13828 $as_echo_n "(cached) " >&6
13830 case $orig_target_strip in
13832 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13836 for as_dir
in $PATH
13839 test -z "$as_dir" && as_dir
=.
13840 for ac_exec_ext
in '' $ac_executable_extensions; do
13841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13842 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13853 orig_target_strip
=$ac_cv_path_orig_target_strip
13854 if test -n "$orig_target_strip"; then
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13856 $as_echo "$orig_target_strip" >&6; }
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13859 $as_echo "no" >&6; }
13863 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13867 if test "$orig_target_strip" = ""; then
13870 if test "$orig_target_strip" = "no"; then
13873 if test "$req_avail" = "no"; then
13874 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13877 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13878 if test "$cross_compiling" = "yes" ; then
13879 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13880 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13882 $as_echo_n "checking for $ac_word... " >&6; }
13883 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13884 $as_echo_n "(cached) " >&6
13886 case $orig_target_objcopy in
13888 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13892 for as_dir
in $PATH
13895 test -z "$as_dir" && as_dir
=.
13896 for ac_exec_ext
in '' $ac_executable_extensions; do
13897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13898 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13909 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13910 if test -n "$orig_target_objcopy"; then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13912 $as_echo "$orig_target_objcopy" >&6; }
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13915 $as_echo "no" >&6; }
13921 if test "" = ""; then
13922 ac_tool_objcopy
=objcopy
13926 if test "$GCC" = "yes"; then
13927 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
13928 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13929 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13931 $as_echo_n "checking for $ac_word... " >&6; }
13932 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13933 $as_echo_n "(cached) " >&6
13935 case $orig_target_objcopy in
13937 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13941 for as_dir
in `dirname $aros_gcc_objcopy`
13944 test -z "$as_dir" && as_dir
=.
13945 for ac_exec_ext
in '' $ac_executable_extensions; do
13946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13947 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13958 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13959 if test -n "$orig_target_objcopy"; then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13961 $as_echo "$orig_target_objcopy" >&6; }
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13964 $as_echo "no" >&6; }
13969 if test "$orig_target_objcopy" = ""; then
13970 for ac_prog
in $ac_tool_objcopy
13972 # Extract the first word of "$ac_prog", so it can be a program name with args.
13973 set dummy
$ac_prog; ac_word
=$2
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13975 $as_echo_n "checking for $ac_word... " >&6; }
13976 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13977 $as_echo_n "(cached) " >&6
13979 case $orig_target_objcopy in
13981 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13985 for as_dir
in $PATH
13988 test -z "$as_dir" && as_dir
=.
13989 for ac_exec_ext
in '' $ac_executable_extensions; do
13990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13991 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14002 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14003 if test -n "$orig_target_objcopy"; then
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14005 $as_echo "$orig_target_objcopy" >&6; }
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14008 $as_echo "no" >&6; }
14012 test -n "$orig_target_objcopy" && break
14019 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
14020 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
14021 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14023 $as_echo_n "checking for $ac_word... " >&6; }
14024 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
14025 $as_echo_n "(cached) " >&6
14027 case $orig_target_objcopy in
14029 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
14032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14033 for as_dir
in $PATH
14036 test -z "$as_dir" && as_dir
=.
14037 for ac_exec_ext
in '' $ac_executable_extensions; do
14038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14039 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
14040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14051 if test -n "$orig_target_objcopy"; then
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14053 $as_echo "$orig_target_objcopy" >&6; }
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14056 $as_echo "no" >&6; }
14060 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
14064 if test "$orig_target_objcopy" = ""; then
14067 if test "$orig_target_objcopy" = "no"; then
14070 if test "$req_avail" = "no"; then
14071 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
14074 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
14075 if test "$cross_compiling" = "yes" ; then
14076 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
14077 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14079 $as_echo_n "checking for $ac_word... " >&6; }
14080 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14081 $as_echo_n "(cached) " >&6
14083 case $orig_target_objdump in
14085 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14089 for as_dir
in $PATH
14092 test -z "$as_dir" && as_dir
=.
14093 for ac_exec_ext
in '' $ac_executable_extensions; do
14094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14095 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14106 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14107 if test -n "$orig_target_objdump"; then
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14109 $as_echo "$orig_target_objdump" >&6; }
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14112 $as_echo "no" >&6; }
14118 if test "" = ""; then
14119 ac_tool_objdump
=objdump
14123 if test "$GCC" = "yes"; then
14124 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
14125 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
14126 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14128 $as_echo_n "checking for $ac_word... " >&6; }
14129 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14130 $as_echo_n "(cached) " >&6
14132 case $orig_target_objdump in
14134 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14138 for as_dir
in `dirname $aros_gcc_objdump`
14141 test -z "$as_dir" && as_dir
=.
14142 for ac_exec_ext
in '' $ac_executable_extensions; do
14143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14144 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14155 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14156 if test -n "$orig_target_objdump"; then
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14158 $as_echo "$orig_target_objdump" >&6; }
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14161 $as_echo "no" >&6; }
14166 if test "$orig_target_objdump" = ""; then
14167 for ac_prog
in $ac_tool_objdump
14169 # Extract the first word of "$ac_prog", so it can be a program name with args.
14170 set dummy
$ac_prog; ac_word
=$2
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14172 $as_echo_n "checking for $ac_word... " >&6; }
14173 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14174 $as_echo_n "(cached) " >&6
14176 case $orig_target_objdump in
14178 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14182 for as_dir
in $PATH
14185 test -z "$as_dir" && as_dir
=.
14186 for ac_exec_ext
in '' $ac_executable_extensions; do
14187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14188 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14199 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14200 if test -n "$orig_target_objdump"; then
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14202 $as_echo "$orig_target_objdump" >&6; }
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14205 $as_echo "no" >&6; }
14209 test -n "$orig_target_objdump" && break
14216 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
14217 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
14218 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14220 $as_echo_n "checking for $ac_word... " >&6; }
14221 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14222 $as_echo_n "(cached) " >&6
14224 case $orig_target_objdump in
14226 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14230 for as_dir
in $PATH
14233 test -z "$as_dir" && as_dir
=.
14234 for ac_exec_ext
in '' $ac_executable_extensions; do
14235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14236 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14247 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14248 if test -n "$orig_target_objdump"; then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14250 $as_echo "$orig_target_objdump" >&6; }
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14253 $as_echo "no" >&6; }
14257 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
14261 if test "$orig_target_objdump" = ""; then
14264 if test "$orig_target_objdump" = "no"; then
14267 if test "$req_avail" = "no"; then
14268 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
14272 if test "$kernel_tool_prefix" = "none" ; then
14273 # No kernel tools specified
14274 # Assume target tools == kernel tools with ELF wrapper
14275 aros_kernel_cc
=$orig_target_cc
14276 aros_kernel_cxx
=$orig_target_cxx
14277 aros_kernel_cpp
=$orig_target_cpp
14278 aros_kernel_ld
=$orig_target_ld
14279 aros_kernel_as
=$orig_target_as
14280 aros_kernel_ar
=$orig_target_ar
14281 aros_kernel_ranlib
=$orig_target_ranlib
14282 aros_kernel_nm
=$orig_target_nm
14283 aros_kernel_strip
=$orig_target_strip
14284 aros_kernel_objcopy
=$orig_target_objcopy
14285 aros_kernel_objdump
=$orig_target_objdump
14286 use_kernel_cc_wrapper
=yes
14289 # At this point, all aros_kernel_* and aros_target_*
14290 # tools should be set up correctly
14292 CC
="$aros_kernel_cc $kernel_tool_flags"
14293 CPP
="$aros_kernel_cpp"
14295 #-----------------------------------------------------------------------------
14297 # Find all the tools we need to compile. This could be cross-compiling
14298 # though! If that is the case we use the GNU form of the target and
14299 # simply add this to the front of the binary name. This is rather simple,
14300 # but it should work under most circumstances.
14302 # The default tools are to use the same as the host, but only if the
14303 # host and target CPU are the same. With GCC this is normally enough.
14307 aros_shared_ld
="$aros_host_ld"
14309 aros_target_mkdep
="$aros_host_mkdep"
14311 # The default tools executables to be linked to.
14312 if test "$rescomp" != ""; then
14313 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
14314 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14316 $as_echo_n "checking for $ac_word... " >&6; }
14317 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
14318 $as_echo_n "(cached) " >&6
14320 case $aros_kernel_rescomp in
14322 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
14325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14326 for as_dir
in $PATH
14329 test -z "$as_dir" && as_dir
=.
14330 for ac_exec_ext
in '' $ac_executable_extensions; do
14331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14332 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
14333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14343 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
14344 if test -n "$aros_kernel_rescomp"; then
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
14346 $as_echo "$aros_kernel_rescomp" >&6; }
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14349 $as_echo "no" >&6; }
14354 if test "$aros_kernel_rescomp" = ""; then
14357 if test "$aros_kernel_rescomp" = "no"; then
14360 if test "$req_avail" = "no"; then
14361 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
14365 # Set up the sources for the symlink farm
14366 if test "$crosstools" = "yes"; then
14367 crosstools_target
=tools-crosstools
14370 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
14371 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
14373 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
14374 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
14375 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
14376 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
14377 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
14378 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
14379 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
14381 # aros_cc_pre is a variable that is added to the front of the compiler name
14382 # in the generated aros-gcc shell script. We need this to enable the cache
14383 # to work across cleaned builds. Also, support DISTCC using the correct
14384 # environment variable.
14387 if test "x${DISTCC}" != "x" ; then
14388 if test "x${CCACHE}" != "x" ; then
14389 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
14391 aros_cc_pre
="${DISTCC} "
14394 if test "x${CCACHE}" != "x" ; then
14395 aros_cc_pre
="${CCACHE} "
14399 aros_target_nostdinc_cflags
=-nostdinc
14401 aros_target_nostartup_ldflags
=-nostartfiles
14403 aros_target_nix_ldflags
=-nix
14405 aros_target_detach_ldflags
=-detach
14407 aros_target_nostdlib_ldflags
=-nostdlib
14410 aros_target_cc_path
=
14414 if test "$aros_target_toolchain" != "yes"; then
14415 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
14416 if test "$GCC" = "yes"; then
14417 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
14420 # We do not know which c compiler version we are going to build and what we need to know
14421 # here is different for different versions so this will be set later during the
14422 # build of crosstools.
14423 if test "$aros_toolchain" = "gnu" ; then
14424 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
14425 elif test "$aros_toolchain" = "llvm" ; then
14426 prefix
="$AROS_CROSSTOOLSDIR/bin/"
14428 aros_target_cc_path
=@aros_target_cc_path@
14430 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
14431 aros_target_cc
="${prefix}${toolchain_c_compiler}"
14432 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
14433 aros_target_as
="${prefix}${toolchain_as}"
14434 if test "${use_ld_wrapper}" = "yes"; then
14435 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
14437 aros_target_ld
="${prefix}${toolchain_ld}"
14439 aros_toolchain_ld
="${prefix}${toolchain_ld}"
14441 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
14442 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
14443 aros_target_objdump
="${prefix}${toolchain_objdump}"
14444 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
14445 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
14446 aros_target_strip
="${prefix}${toolchain_strip}"
14447 aros_plain_nm
="${prefix}${toolchain_nm}"
14448 aros_plain_ar
="${prefix}${toolchain_ar}"
14450 # Check whether --enable-includes was given.
14451 if test "${enable_includes+set}" = set; then :
14452 enableval
=$enable_includes; aros_target_incl
=$enable_includes
14454 aros_target_incl
=no
14458 if test "x$aros_target_incl" = "xno"; then
14459 if test "x$test_kernel_cc" != "xno"; then
14460 aros_target_incl
=`$aros_kernel_cc -print-sysroot 2>/dev/null`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
14466 if test "x$aros_kernel_includes" = "x"; then
14467 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14468 if test "x$aros_target_incl" != "x"; then
14469 aros_kernel_includes
="-isystem $aros_target_incl"
14474 if test "x$test_kernel_cc" != "xno"; then
14475 if test "$aros_kernel_includes" != "" ; then
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
14477 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
14478 if test "$aros_kernel_cc_includes" = "" ; then
14479 # Try to guess where the directory is.
14480 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
14481 if test -d $aros_kernel_cc_includes; then
14482 # Check if there is also an include-fixed directory and add it
14483 # to kernel compiler's include path as it may contain some of
14484 # the headers we need.
14485 if test -d "$aros_kernel_cc_includes"-fixed; then
14486 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
14488 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
14489 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
14490 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
14493 # The directory doesn't exist, we need to do some more work.
14494 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
14496 # These are the headers we're looking for.
14497 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14498 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14502 for h
in $headers; do
14503 # Which other headers are needed by each of the above?
14504 deps
=$
(echo "#include <$h>" | \
14505 $aros_kernel_cc -E -M - 2>/dev
/null | \
14506 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14508 # Copy all the needed headers to a directory beneath gendir.
14511 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
14512 sed -n "s,^.*/include\(/.*\),\1,p")
14513 ! test -d $dir && mkdir
-p $dir
14514 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
14520 $as_echo "$aros_kernel_cc_includes" >&6; }
14521 # Adding -nostdinc to kernel includes as they are always used together.
14522 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
14526 if test "$crosstools" != "yes"; then
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
14528 $as_echo_n "checking for the target compiler's include path... " >&6; }
14529 if test "$aros_target_cc_includes" = "" ; then
14530 #try to guess where the directory is
14531 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
14532 if ! test -d $aros_target_cc_includes; then
14533 #the directory doesn't exist, we need to do some more work
14534 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
14536 #these are the headers we're looking for
14537 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14538 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14542 for h
in $headers; do
14543 #which other headers each of the above headers needs?
14544 deps
=$
(echo "#include <$h>" | \
14545 $orig_target_cc -E -M - 2>/dev
/null | \
14546 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14548 #copy all the needed headers to a directory beneath gendir
14551 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
14552 sed -n "s,^.*/include\(/.*\),\1,p")
14553 ! test -d $dir && mkdir
-p $dir
14554 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
14560 $as_echo "$aros_target_cc_includes" >&6; }
14562 # We do not know which c compiler version we are going to build and what we need to know
14563 # here is different for different versions so this will be set later during the
14564 # build of crosstools.
14565 aros_target_cc_includes
=@aros_target_cc_includes@
14569 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
14570 # On GCC >= 4.0 -iquote should be used
14574 save_cflags
="$CFLAGS"
14575 if test "x$test_kernel_cc" != "xno"; then
14577 kernel_cflags_iquote
=$host_cflags_iquote
14578 kernel_cflags_iquote_end
=$host_cflags_iquote_end
14579 if test "x-$cross_compiling" = "x-yes"; then
14580 CC
="$aros_kernel_cc"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
14582 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
14583 if test "x-$crosstools" != "x-yes"; then
14584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14595 if ac_fn_c_try_compile
"$LINENO"; then :
14596 use_no_stack_protector
="yes"
14598 use_no_stack_protector
="no"
14600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14602 # we do know it is supported for the smallest version of gcc we are going to build
14603 # we assume it's also supported by later versions
14604 use_no_stack_protector
=yes
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
14607 $as_echo "$use_no_stack_protector" >&6; }
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
14609 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
14610 if test "x-$crosstools" != "x-yes"; then
14611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14612 /* end confdefs.h. */
14622 if ac_fn_c_try_compile
"$LINENO"; then :
14627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14629 # we do know it is supported for the smallest version of gcc we are going to build
14630 # we assume it's also supported by later versions
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
14634 $as_echo "$has_iquote" >&6; }
14635 if test "x-$has_iquote" = "x-yes" ; then
14636 kernel_cflags_iquote
=-iquote
14637 kernel_cflags_iquote_end
=
14639 kernel_cflags_iquote
=-I
14640 kernel_cflags_iquote_end
=-I-
14643 if test "x-$use_no_stack_protector" = "x-yes" ; then
14644 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
14647 #-----------------------------------------------------------------------------
14649 # Check if we can explicitly choose older version of symbol hashing
14651 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
14652 CC
="$aros_kernel_cc"
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
14654 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
14655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14666 if ac_fn_c_try_link
"$LINENO"; then :
14667 use_hash_style
="yes"
14669 use_hash_style
="no"
14671 rm -f core conftest.err conftest.
$ac_objext \
14672 conftest
$ac_exeext conftest.
$ac_ext
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
14674 $as_echo "$use_hash_style" >&6; }
14675 if test "x-$use_hash_style" = "x-yes" ; then
14676 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
14679 kernel_cflags_iquote
="$""(CFLAGS_IQUOTE)"
14680 kernel_cflags_iquote_end
="$""(CFLAGS_IQUOTE_END)"
14683 CFLAGS
="$save_cflags"
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
14692 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14694 # Check whether --with-resolution was given.
14695 if test "${with_resolution+set}" = set; then :
14696 withval
=$with_resolution; resolution
=$withval
14701 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14702 if test "$resolution" = "yes" ; then
14705 if test "$resolution" = "no" ; then
14708 if test "$resolution" != "none" ; then
14709 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14710 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14711 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14714 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14715 aros_cv_nominal_width
=$aros_nominal_width
14716 aros_cv_nominal_height
=$aros_nominal_height
14717 aros_cv_nominal_depth
=$aros_nominal_depth
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14720 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14722 # Check whether --with-serial-debug was given.
14723 if test "${with_serial_debug+set}" = set; then :
14724 withval
=$with_serial_debug; serial_debug
=$withval
14729 if test "$aros_serial_debug" = 0 ; then
14730 serial_debug_forced
=""
14731 if test "$serial_debug" = "yes" ; then
14734 if test "$serial_debug" = "no" ; then
14735 serial_debug
="none"
14738 serial_debug_forced
="(forced)"
14739 serial_debug
=$aros_serial_debug
14741 if test "$serial_debug" != "none" ; then
14742 aros_serial_debug
=$serial_debug
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14744 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14747 $as_echo "no" >&6; }
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14751 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14752 # Check whether --enable-palm_debug_hack was given.
14753 if test "${enable_palm_debug_hack+set}" = set; then :
14754 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14756 palm_debug_hack
="no"
14759 if test "$palm_debug_hack" = "yes" ; then
14760 aros_palm_debug_hack
="1"
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14763 $as_echo "$palm_debug_hack" >&6; }
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14766 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14767 # Check whether --enable-usb30_code was given.
14768 if test "${enable_usb30_code+set}" = set; then :
14769 enableval
=$enable_usb30_code; usb30_code
="yes"
14774 if test "$usb30_code" = "yes" ; then
14775 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14776 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14779 $as_echo "$usb30_code" >&6; }
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14782 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14783 # Check whether --enable-nesting_supervisor was given.
14784 if test "${enable_nesting_supervisor+set}" = set; then :
14785 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14787 nesting_supervisor
="no"
14790 if test "$nesting_supervisor" = "yes" ; then
14791 aros_nesting_supervisor
="1"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14794 $as_echo "$nesting_supervisor" >&6; }
14796 if test "$aros_enable_mmu" = "" ; then
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14798 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14799 # Check whether --enable-mmu was given.
14800 if test "${enable_mmu+set}" = set; then :
14801 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14803 aros_enable_mmu
="yes"
14806 if test "$aros_enable_mmu" = "" ; then
14807 aros_enable_mmu
="yes"
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14810 $as_echo "$aros_enable_mmu" >&6; }
14812 if test "$aros_enable_mmu" = "no" ; then
14813 aros_enable_mmu
="0"
14815 aros_enable_mmu
="1"
14819 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14821 if test "x-$need_dlopen" != "x-no" ; then
14824 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14825 if test "x$ac_cv_func_dlopen" = xyes
; then :
14831 if test "x-$have_dl" = "x-no" ; then
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14833 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14834 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14835 $as_echo_n "(cached) " >&6
14837 ac_check_lib_save_LIBS
=$LIBS
14839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14842 /* Override any GCC internal prototype to avoid an error.
14843 Use char because int might match the return type of a GCC
14844 builtin and then its argument prototype would still apply. */
14857 if ac_fn_c_try_link
"$LINENO"; then :
14858 ac_cv_lib_dl_dlopen
=yes
14860 ac_cv_lib_dl_dlopen
=no
14862 rm -f core conftest.err conftest.
$ac_objext \
14863 conftest
$ac_exeext conftest.
$ac_ext
14864 LIBS
=$ac_check_lib_save_LIBS
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14867 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14868 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14870 aros_host_ldflags
="$aros_host_ldflags -ldl"
14876 if test "x-$have_dl" = "x-no" ; then
14877 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14883 # Check whether --enable-x11_hidd was given.
14884 if test "${enable_x11_hidd+set}" = set; then :
14885 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14887 x11_hidd
="$need_x11"
14890 case "x-$x11_hidd" in
14891 x-yes|x-no|x-auto
) ;;
14892 *) x11_hidd
="$need_x11" ;;
14897 if test "x-$x11_hidd" != "x-no" ; then
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14900 $as_echo_n "checking for X... " >&6; }
14903 # Check whether --with-x was given.
14904 if test "${with_x+set}" = set; then :
14908 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14909 if test "x$with_x" = xno
; then
14910 # The user explicitly disabled X.
14913 case $x_includes,$x_libraries in #(
14914 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14915 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14916 $as_echo_n "(cached) " >&6
14918 # One or both of the vars are not set, and there is no cached value.
14919 ac_x_includes
=no ac_x_libraries
=no
14920 rm -f -r conftest.dir
14921 if mkdir conftest.dir
; then
14923 cat >Imakefile
<<'_ACEOF'
14925 @echo incroot='${INCROOT}'
14927 @echo usrlibdir='${USRLIBDIR}'
14929 @echo libdir='${LIBDIR}'
14931 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14932 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14933 for ac_var
in incroot usrlibdir libdir
; do
14934 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14936 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14937 for ac_extension
in a so sl dylib la dll
; do
14938 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14939 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14940 ac_im_usrlibdir
=$ac_im_libdir; break
14943 # Screen out bogus values from the imake configuration. They are
14944 # bogus both because they are the default anyway, and because
14945 # using them would break gcc on systems where it needs fixed includes.
14946 case $ac_im_incroot in
14947 /usr
/include
) ac_x_includes
= ;;
14948 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14950 case $ac_im_usrlibdir in
14951 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14952 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14956 rm -f -r conftest.dir
14959 # Standard set of common directories for X headers.
14960 # Check X11 before X11Rn because it is often a symlink to the current release.
14974 /usr/local/X11/include
14975 /usr/local/X11R7/include
14976 /usr/local/X11R6/include
14977 /usr/local/X11R5/include
14978 /usr/local/X11R4/include
14980 /usr/local/include/X11
14981 /usr/local/include/X11R7
14982 /usr/local/include/X11R6
14983 /usr/local/include/X11R5
14984 /usr/local/include/X11R4
14988 /usr/XFree86/include/X11
14992 /usr/unsupported/include
14993 /usr/athena/include
14994 /usr/local/x11r5/include
14995 /usr/lpp/Xamples/include
14997 /usr/openwin/include
14998 /usr/openwin/share/include'
15000 if test "$ac_x_includes" = no
; then
15001 # Guess where to find include files, by looking for Xlib.h.
15002 # First, try using that file with no special directory specified.
15003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 #include <X11/Xlib.h>
15007 if ac_fn_c_try_cpp
"$LINENO"; then :
15008 # We can compile using X headers with no special include directory.
15011 for ac_dir
in $ac_x_header_dirs; do
15012 if test -r "$ac_dir/X11/Xlib.h"; then
15013 ac_x_includes
=$ac_dir
15018 rm -f conftest.err conftest.i conftest.
$ac_ext
15019 fi # $ac_x_includes = no
15021 if test "$ac_x_libraries" = no
; then
15022 # Check for the libraries.
15023 # See if we find them without any special options.
15024 # Don't add to $LIBS permanently.
15027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15028 /* end confdefs.h. */
15029 #include <X11/Xlib.h>
15038 if ac_fn_c_try_link
"$LINENO"; then :
15040 # We can link X programs with no special library path.
15044 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
15046 # Don't even attempt the hair of trying to link an X program!
15047 for ac_extension
in a so sl dylib la dll
; do
15048 if test -r "$ac_dir/libX11.$ac_extension"; then
15049 ac_x_libraries
=$ac_dir
15055 rm -f core conftest.err conftest.
$ac_objext \
15056 conftest
$ac_exeext conftest.
$ac_ext
15057 fi # $ac_x_libraries = no
15059 case $ac_x_includes,$ac_x_libraries in #(
15060 no
,* |
*,no |
*\'*)
15061 # Didn't find X, or a directory has "'" in its name.
15062 ac_cv_have_x
="have_x=no";; #(
15064 # Record where we found X for the cache.
15065 ac_cv_have_x
="have_x=yes\
15066 ac_x_includes='$ac_x_includes'\
15067 ac_x_libraries='$ac_x_libraries'"
15073 eval "$ac_cv_have_x"
15076 if test "$have_x" != yes; then
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
15078 $as_echo "$have_x" >&6; }
15081 # If each of the values was on the command line, it overrides each guess.
15082 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
15083 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
15084 # Update the cache value to reflect the command line values.
15085 ac_cv_have_x
="have_x=yes\
15086 ac_x_includes='$x_includes'\
15087 ac_x_libraries='$x_libraries'"
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
15089 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
15093 if test -n "$x_includes"; then
15094 X_CFLAGS
="$X_CFLAGS -I$x_includes"
15097 if test -n "$x_libraries"; then
15098 X_LIBS
="$X_LIBS -L$x_libraries"
15101 if test "x-$no_x" = "x-yes" ; then
15103 if test "x-$x11_hidd" != "x-auto" ; then
15104 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
15108 aros_target_options
+="$export_newline""# Enable X11 Gfx Driver$export_newline""OPT_HOST_X11GFX := yes$export_newline"
15109 if test "x-$host_feature_glx" != "x-no" ; then
15110 aros_target_options
+="$export_newline""# Enable X11 HostGL 3D Passthrough$export_newline""OPT_HOST_X11_HOSTGL := yes$export_newline"
15114 aros_host_x11_cflags
="$X_CFLAGS"
15115 aros_host_x11_ldflags
="$X_LIBS -lX11"
15117 # Check whether --enable-x11_shm was given.
15118 if test "${enable_x11_shm+set}" = set; then :
15119 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
15121 x11_hidd_shm
="auto"
15124 case "x-$x11_hidd_shm" in
15125 x-yes|x-no|x-auto
) ;;
15126 *) x11_hidd_shm
="auto" ;;
15131 if test "x-$x11_hidd_shm" != "x-no" ; then
15133 for ac_header
in sys
/ipc.h
15135 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
15136 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
15137 cat >>confdefs.h
<<_ACEOF
15138 #define HAVE_SYS_IPC_H 1
15145 for ac_header
in sys
/shm.h
15147 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
15148 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
15149 cat >>confdefs.h
<<_ACEOF
15150 #define HAVE_SYS_SHM_H 1
15158 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
15160 save_cflags
="$CFLAGS"
15161 save_ldflags
="$LDFLAGS"
15162 CFLAGS
="$CFLAGS $X_CFLAGS"
15163 LDFLAGS
="$LDFLAGS $X_LIBS"
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15165 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
15166 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
15167 $as_echo_n "(cached) " >&6
15169 ac_check_lib_save_LIBS
=$LIBS
15170 LIBS
="-lXext $LIBS"
15171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15180 char XShmQueryExtension ();
15184 return XShmQueryExtension ();
15189 if ac_fn_c_try_link
"$LINENO"; then :
15190 ac_cv_lib_Xext_XShmQueryExtension
=yes
15192 ac_cv_lib_Xext_XShmQueryExtension
=no
15194 rm -f core conftest.err conftest.
$ac_objext \
15195 conftest
$ac_exeext conftest.
$ac_ext
15196 LIBS
=$ac_check_lib_save_LIBS
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15199 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15200 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
15204 CFLAGS
="$save_cflags"
15205 LDFLAGS
="$save_ldflags"
15209 if test "x-$have_xshm" = "x-yes" ; then
15210 DO_XSHM_SUPPORT
="1"
15211 elif test "x-$x11_hidd_shm" = "x-yes" ; then
15212 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
15214 DO_XSHM_SUPPORT
="0"
15218 # Check whether --enable-x11_vidmode was given.
15219 if test "${enable_x11_vidmode+set}" = set; then :
15220 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
15222 x11_hidd_vidmode
="auto"
15225 case "x-$x11_hidd_vidmode" in
15226 x-yes|x-no|x-auto
) ;;
15227 *) x11_hidd_vidmode
="auto" ;;
15232 if test "x-$x11_hidd_vidmode" != "x-no" ; then
15234 save_cflags
="$CFLAGS"
15235 save_ldflags
="$LDFLAGS"
15236 CFLAGS
="$CFLAGS $X_CFLAGS"
15237 LDFLAGS
="$LDFLAGS $X_LIBS"
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
15239 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
15240 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
15241 $as_echo_n "(cached) " >&6
15243 ac_check_lib_save_LIBS
=$LIBS
15244 LIBS
="-lXxf86vm $LIBS"
15245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15248 /* Override any GCC internal prototype to avoid an error.
15249 Use char because int might match the return type of a GCC
15250 builtin and then its argument prototype would still apply. */
15254 char XF86VidModeQueryExtension ();
15258 return XF86VidModeQueryExtension ();
15263 if ac_fn_c_try_link
"$LINENO"; then :
15264 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
15266 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
15268 rm -f core conftest.err conftest.
$ac_objext \
15269 conftest
$ac_exeext conftest.
$ac_ext
15270 LIBS
=$ac_check_lib_save_LIBS
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
15273 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
15274 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
15278 CFLAGS
="$save_cflags"
15279 LDFLAGS
="$save_ldflags"
15282 if test "x-$have_vidmode" = "x-yes" ; then
15283 DO_VIDMODE_SUPPORT
="1"
15284 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
15285 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
15287 DO_VIDMODE_SUPPORT
="0"
15292 # Check whether --enable-sdl_hidd was given.
15293 if test "${enable_sdl_hidd+set}" = set; then :
15294 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
15299 case "x-$sdl_hidd" in
15300 x-yes|x-no|x-auto
) ;;
15301 *) sdl_hidd
="auto" ;;
15304 if test "x-$sdl_hidd" != "x-no" ; then
15308 # Check whether --with-sdl-prefix was given.
15309 if test "${with_sdl_prefix+set}" = set; then :
15310 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
15316 # Check whether --with-sdl-exec-prefix was given.
15317 if test "${with_sdl_exec_prefix+set}" = set; then :
15318 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
15323 # Check whether --enable-sdltest was given.
15324 if test "${enable_sdltest+set}" = set; then :
15325 enableval
=$enable_sdltest;
15331 if test x
$sdl_exec_prefix != x
; then
15332 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
15333 if test x
${SDL_CONFIG+set} != xset
; then
15334 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
15337 if test x
$sdl_prefix != x
; then
15338 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
15339 if test x
${SDL_CONFIG+set} != xset
; then
15340 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
15344 as_save_PATH
="$PATH"
15345 if test "x$prefix" != xNONE
; then
15346 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
15348 # Extract the first word of "sdl-config", so it can be a program name with args.
15349 set dummy sdl-config
; ac_word
=$2
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15351 $as_echo_n "checking for $ac_word... " >&6; }
15352 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
15353 $as_echo_n "(cached) " >&6
15355 case $SDL_CONFIG in
15357 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
15360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15361 for as_dir
in $PATH
15364 test -z "$as_dir" && as_dir
=.
15365 for ac_exec_ext
in '' $ac_executable_extensions; do
15366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15367 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15375 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
15379 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
15380 if test -n "$SDL_CONFIG"; then
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
15382 $as_echo "$SDL_CONFIG" >&6; }
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15385 $as_echo "no" >&6; }
15389 PATH
="$as_save_PATH"
15390 min_sdl_version
=$SDL_VERSION
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
15392 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
15394 if test "$SDL_CONFIG" = "no" ; then
15397 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
15398 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
15400 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
15401 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15402 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
15403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15404 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
15405 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15406 if test "x$enable_sdltest" = "xyes" ; then
15407 ac_save_CFLAGS
="$CFLAGS"
15408 ac_save_CXXFLAGS
="$CXXFLAGS"
15409 ac_save_LIBS
="$LIBS"
15410 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15411 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15412 LIBS
="$LIBS $SDL_LIBS"
15414 if test "$cross_compiling" = yes; then :
15415 echo $ac_n "cross compiling; assumed OK... $ac_c"
15417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15421 #include <stdlib.h>
15422 #include <string.h>
15426 my_strdup (char *str)
15432 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
15433 strcpy (new_str, str);
15441 int main (int argc, char *argv[])
15443 int major, minor, micro;
15446 /* This hangs on some systems (?)
15447 system ("touch conf.sdltest");
15449 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
15451 /* HP/UX 9 (%@#!) writes to sscanf strings */
15452 tmp_version = my_strdup("$min_sdl_version");
15453 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15454 printf("%s, bad version string\n", "$min_sdl_version");
15458 if (($sdl_major_version > major) ||
15459 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
15460 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
15466 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
15467 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
15468 printf("*** best to upgrade to the required version.\n");
15469 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
15470 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
15471 printf("*** config.cache before re-running configure\n");
15478 if ac_fn_c_try_run
"$LINENO"; then :
15483 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15484 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15487 CFLAGS
="$ac_save_CFLAGS"
15488 CXXFLAGS
="$ac_save_CXXFLAGS"
15489 LIBS
="$ac_save_LIBS"
15492 if test "x$no_sdl" = x
; then
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15494 $as_echo "yes" >&6; }
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15498 $as_echo "no" >&6; }
15499 if test "$SDL_CONFIG" = "no" ; then
15500 echo "*** The sdl-config script installed by SDL could not be found"
15501 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
15502 echo "*** your path, or set the SDL_CONFIG environment variable to the"
15503 echo "*** full path to sdl-config."
15505 if test -f conf.sdltest
; then
15508 echo "*** Could not run SDL test program, checking why..."
15509 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15510 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15511 LIBS
="$LIBS $SDL_LIBS"
15512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15518 int main(int argc, char *argv[])
15521 #define main K_and_R_C_main
15531 if ac_fn_c_try_link
"$LINENO"; then :
15532 echo "*** The test program compiled, but did not run. This usually means"
15533 echo "*** that the run-time linker is not finding SDL or finding the wrong"
15534 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
15535 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15536 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15537 echo "*** is required on your system"
15539 echo "*** If you have an old version installed, it is best to remove it, although"
15540 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15542 echo "*** The test program failed to compile or link. See the file config.log for the"
15543 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
15544 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
15545 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
15547 rm -f core conftest.err conftest.
$ac_objext \
15548 conftest
$ac_exeext conftest.
$ac_ext
15549 CFLAGS
="$ac_save_CFLAGS"
15550 CXXFLAGS
="$ac_save_CXXFLAGS"
15551 LIBS
="$ac_save_LIBS"
15563 if test "x-$have_sdl" != "x-yes" ; then
15565 if test "x-$sdl_hidd" != "x-auto" ; then
15566 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
15570 aros_target_options
+="$export_newline""# Enable SDL Gfx Driver$export_newline""OPT_HOST_SDLGFX := yes$export_newline"
15571 aros_host_sdl_cflags
=$SDL_CFLAGS
15572 aros_host_sdl_libs
=$SDL_LIBS
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
15580 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
15581 # Check whether --enable-dbus was given.
15582 if test "${enable_dbus+set}" = set; then :
15583 enableval
=$enable_dbus; dbus
="yes"
15588 if test "$dbus" = "yes" ; then
15590 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
15591 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
15592 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
15593 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
15598 $as_echo "$dbus" >&6; }
15600 if test "$use_kernel_cc_wrapper" = "yes" ; then
15601 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
15604 aros_kernel_cppflags
=$aros_config_cppflags
15605 aros_optimization_cflags
="$optimization_level"
15606 if test "$optimization" = "default"; then
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
15608 $as_echo_n "checking default optimization level to use... " >&6; }
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
15610 $as_echo "$optimization_level" >&6; }
15613 if ! test "$gcc_default_cpu" = "" ; then
15614 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"
15617 if test "$use_libatomic" = "yes" ; then
15618 aros_cxx_libs
="$aros_cxx_libs -latomic"
15636 # Compatability with other Amiga-like operating systems
15639 # Host Related ###########################
15671 # Target Related #########################
15764 # Native version related
15772 # Bootloader related
15775 # Unix/Hosted version related
15778 # ARM default GCC target related
15785 # Palm native version related
15788 # Apple iOS related
15805 # Collect-aros stuff: "-ius" to ignore undefined symbols
15808 # C compiler related
15813 #ObjC compiler related
15841 case "$aros_flavour" in
15842 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15843 aros_flavour
="emulation" ;;
15844 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15845 aros_flavour
="emulation" ;;
15846 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15847 aros_flavour
="standalone";;
15848 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15849 aros_flavour
="standalone";;
15850 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15851 aros_flavour
="native" ;;
15852 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15853 aros_flavour
="native" ;;
15854 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15855 aros_flavour
="linklib" ;;
15856 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15857 aros_flavour
="palmnative" ;;
15858 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15859 aros_flavour
="mac68knative" ;;
15860 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15861 aros_flavour
="ppcnative" ;;
15864 if test ! -d ${aros_inc_dir} ; then
15865 ${MKDIR} ${aros_inc_dir}
15867 if test ! -d ${aros_geninc_dir} ; then
15868 ${MKDIR} ${aros_geninc_dir}
15870 if test ! -d ${aros_hostcfg_dir} ; then
15871 ${MKDIR} ${aros_hostcfg_dir}
15873 if test ! -d ${aros_targetcfg_dir} ; then
15874 ${MKDIR} ${aros_targetcfg_dir}
15876 if test ! -d ${aros_tools_dir} ; then
15877 ${MKDIR} ${aros_tools_dir}
15879 if test ! -d ${aros_scripts_dir} ; then
15880 ${MKDIR} ${aros_scripts_dir}
15883 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15886 # Generic build tools (metamake, etc)
15887 ac_config_commands
="$ac_config_commands genmf-executable-support"
15889 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"
15893 ac_config_commands
="$ac_config_commands binutils-support"
15895 if test "${use_ld_wrapper}" = "yes"; then
15896 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"
15899 # Bare Elf support script and spec
15900 if test "${use_kernel_cc_wrapper}" = "yes"; then
15901 ac_config_commands
="$ac_config_commands elf-compiler-support"
15903 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"
15907 # Host compiler support scripts and spec
15908 if test "${aros_target_toolchain}" = "no"; then
15909 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15911 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"
15916 if test "$aros_target_variant" == "android"; then
15917 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15922 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15925 cat >confcache
<<\_ACEOF
15926 # This file is a shell script that caches the results of configure
15927 # tests run on this system so they can be shared between configure
15928 # scripts and configure runs, see configure's option --config-cache.
15929 # It is not useful on other systems. If it contains results you don't
15930 # want to keep, you may remove or edit it.
15932 # config.status only pays attention to the cache file if you give it
15933 # the --recheck option to rerun configure.
15935 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15936 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15937 # following values.
15941 # The following way of writing the cache mishandles newlines in values,
15942 # but we know of no workaround that is simple, portable, and efficient.
15943 # So, we kill variables containing newlines.
15944 # Ultrix sh set writes to stderr and can't be redirected directly,
15945 # and sets the high bit in the cache file unless we assign to the vars.
15947 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15948 eval ac_val
=\$
$ac_var
15952 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15953 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15956 _ | IFS | as_nl
) ;; #(
15957 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15958 *) { eval $ac_var=; unset $ac_var;} ;;
15964 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15965 *${as_nl}ac_space
=\
*)
15966 # `set' does not quote correctly, so add quotes: double-quote
15967 # substitution turns \\\\ into \\, and sed turns \\ into \.
15970 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15973 # `set' quotes correctly as required by POSIX, so do not add quotes.
15974 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15983 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15985 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15987 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15988 if test -w "$cache_file"; then
15989 if test "x$cache_file" != "x/dev/null"; then
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15991 $as_echo "$as_me: updating cache $cache_file" >&6;}
15992 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15993 cat confcache
>"$cache_file"
15995 case $cache_file in #(
15997 mv -f confcache
"$cache_file"$$
&&
15998 mv -f "$cache_file"$$
"$cache_file" ;; #(
16000 mv -f confcache
"$cache_file" ;;
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16006 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16011 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16012 # Let make expand exec_prefix.
16013 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16015 DEFS
=-DHAVE_CONFIG_H
16020 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16021 # 1. Remove the extension, and $U if already installed.
16022 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16023 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16024 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16025 # will be set to the directory where LIBOBJS objects are built.
16026 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16027 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16029 LIBOBJS
=$ac_libobjs
16031 LTLIBOBJS
=$ac_ltlibobjs
16035 : "${CONFIG_STATUS=./config.status}"
16037 ac_clean_files_save
=$ac_clean_files
16038 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16040 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16042 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16044 # Generated by $as_me.
16045 # Run this file to recreate the current configuration.
16046 # Compiler output produced by configure, useful for debugging
16047 # configure, is in config.log if it exists.
16050 ac_cs_recheck=false
16053 SHELL=\${CONFIG_SHELL-$SHELL}
16056 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16057 ## -------------------- ##
16058 ## M4sh Initialization. ##
16059 ## -------------------- ##
16061 # Be more Bourne compatible
16062 DUALCASE
=1; export DUALCASE
# for MKS sh
16063 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16066 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16067 # is contrary to our usage. Disable this feature.
16068 alias -g '${1+"$@"}'='"$@"'
16069 setopt NO_GLOB_SUBST
16071 case `(set -o) 2>/dev/null` in #(
16083 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16084 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16085 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16086 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16087 # Prefer a ksh shell builtin over an external printf program on Solaris,
16088 # but without wasting forks for bash or zsh.
16089 if test -z "$BASH_VERSION$ZSH_VERSION" \
16090 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16091 as_echo='print
-r --'
16092 as_echo_n='print
-rn --'
16093 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16094 as_echo='printf %s
\n'
16095 as_echo_n='printf %s
'
16097 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16098 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16099 as_echo_n='/usr
/ucb
/echo -n'
16101 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16102 as_echo_n_body='eval
16106 expr "X$arg" : "X\\(.*\\)$as_nl";
16107 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16109 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16111 export as_echo_n_body
16112 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16114 export as_echo_body
16115 as_echo='sh
-c $as_echo_body as_echo
'
16118 # The user is always right.
16119 if test "${PATH_SEPARATOR+set}" != set; then
16121 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16122 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16129 # We need space, tab and new line, in precisely that order. Quoting is
16130 # there to prevent editors from complaining about space-tab.
16131 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16132 # splitting by setting IFS to empty value.)
16135 # Find who we are. Look in the path if we contain no directory separator.
16138 *[\\/]* ) as_myself=$0 ;;
16139 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16140 for as_dir in $PATH
16143 test -z "$as_dir" && as_dir=.
16144 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16150 # We did not find ourselves, most probably we were run as `sh COMMAND'
16151 # in which case we are not to be found in the path.
16152 if test "x$as_myself" = x
; then
16155 if test ! -f "$as_myself"; then
16156 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16160 # Unset variables that we do not need and which cause bugs (e.g. in
16161 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16162 # suppresses any "Segmentation fault" message there. '((' could
16163 # trigger a bug in pdksh 5.2.14.
16164 for as_var
in BASH_ENV ENV MAIL MAILPATH
16165 do eval test x\
${$as_var+set} = xset \
16166 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16179 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16182 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16183 # ----------------------------------------
16184 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16185 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16186 # script with STATUS, using 1 if that was 0.
16189 as_status
=$1; test $as_status -eq 0 && as_status
=1
16191 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16192 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16194 $as_echo "$as_me: error: $2" >&2
16195 as_fn_exit
$as_status
16199 # as_fn_set_status STATUS
16200 # -----------------------
16201 # Set $? to STATUS, without forking.
16202 as_fn_set_status
()
16205 } # as_fn_set_status
16207 # as_fn_exit STATUS
16208 # -----------------
16209 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16213 as_fn_set_status
$1
16219 # Portably unset VAR.
16222 { eval $1=; unset $1;}
16224 as_unset
=as_fn_unset
16225 # as_fn_append VAR VALUE
16226 # ----------------------
16227 # Append the text in VALUE to the end of the definition contained in VAR. Take
16228 # advantage of any shell optimizations that allow amortized linear growth over
16229 # repeated appends, instead of the typical quadratic growth present in naive
16231 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16232 eval 'as_fn_append ()
16243 # as_fn_arith ARG...
16244 # ------------------
16245 # Perform arithmetic evaluation on the ARGs, and store the result in the
16246 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16247 # must be portable across $(()) and expr.
16248 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16249 eval 'as_fn_arith ()
16256 as_val
=`expr "$@" || test $? -eq 1`
16261 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16262 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16268 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16269 as_basename
=basename
16274 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16280 as_me
=`$as_basename -- "$0" ||
16281 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16282 X"$0" : 'X\(//\)$' \| \
16283 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16285 sed '/^.*\/\([^/][^/]*\)\/*$/{
16299 # Avoid depending upon Character Ranges.
16300 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16301 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16302 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16303 as_cr_digits
='0123456789'
16304 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16306 ECHO_C
= ECHO_N
= ECHO_T
=
16307 case `echo -n x` in #(((((
16309 case `echo 'xy\c'` in
16310 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16312 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16319 rm -f conf$$ conf$$.exe conf$$.
file
16320 if test -d conf$$.dir
; then
16321 rm -f conf$$.dir
/conf$$.
file
16324 mkdir conf$$.dir
2>/dev
/null
16326 if (echo >conf$$.
file) 2>/dev
/null
; then
16327 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16329 # ... but there are two gotchas:
16330 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16331 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16332 # In both cases, we have to default to `cp -pR'.
16333 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16335 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16343 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16344 rmdir conf$$.dir
2>/dev
/null
16349 # Create "$as_dir" as a directory, including parents if necessary.
16354 -*) as_dir
=.
/$as_dir;;
16356 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16360 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16361 *) as_qdir
=$as_dir;;
16363 as_dirs
="'$as_qdir' $as_dirs"
16364 as_dir
=`$as_dirname -- "$as_dir" ||
16365 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16366 X"$as_dir" : 'X\(//\)[^/]' \| \
16367 X"$as_dir" : 'X\(//\)$' \| \
16368 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16369 $as_echo X"$as_dir" |
16370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16374 /^X\(\/\/\)[^/].*/{
16387 test -d "$as_dir" && break
16389 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16390 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16394 if mkdir
-p .
2>/dev
/null
; then
16395 as_mkdir_p
='mkdir -p "$as_dir"'
16397 test -d .
/-p && rmdir .
/-p
16402 # as_fn_executable_p FILE
16403 # -----------------------
16404 # Test if FILE is an executable regular file.
16405 as_fn_executable_p
()
16407 test -f "$1" && test -x "$1"
16408 } # as_fn_executable_p
16409 as_test_x
='test -x'
16410 as_executable_p
=as_fn_executable_p
16412 # Sed expression to map a string onto a valid CPP name.
16413 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16415 # Sed expression to map a string onto a valid variable name.
16416 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16420 ## ----------------------------------- ##
16421 ## Main body of $CONFIG_STATUS script. ##
16422 ## ----------------------------------- ##
16424 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16427 # Save the log message, to keep $0 and so on meaningful, and to
16428 # report actual input values of CONFIG_FILES etc. instead of their
16429 # values after options handling.
16431 This file was extended by $as_me, which was
16432 generated by GNU Autoconf 2.69. Invocation command line was
16434 CONFIG_FILES = $CONFIG_FILES
16435 CONFIG_HEADERS = $CONFIG_HEADERS
16436 CONFIG_LINKS = $CONFIG_LINKS
16437 CONFIG_COMMANDS = $CONFIG_COMMANDS
16440 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16445 case $ac_config_files in *"
16446 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16449 case $ac_config_headers in *"
16450 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16455 # Files that config.status was made for.
16456 config_files="$ac_config_files"
16457 config_headers="$ac_config_headers"
16458 config_commands="$ac_config_commands"
16462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16464 \`$as_me' instantiates files and other configuration actions
16465 from templates according to the current configuration. Unless the files
16466 and actions are specified as TAGs, all are instantiated by default.
16468 Usage: $0 [OPTION]... [TAG]...
16470 -h, --help print this help, then exit
16471 -V, --version print version number and configuration settings, then exit
16472 --config print configuration, then exit
16473 -q, --quiet, --silent
16474 do not print progress messages
16475 -d, --debug don't remove temporary files
16476 --recheck update $as_me by reconfiguring in the same conditions
16477 --file=FILE[:TEMPLATE]
16478 instantiate the configuration file FILE
16479 --header=FILE[:TEMPLATE]
16480 instantiate the configuration header FILE
16482 Configuration files:
16485 Configuration headers:
16488 Configuration commands:
16491 Report bugs to the package provider."
16494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16495 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16498 configured by $0, generated by GNU Autoconf 2.69,
16499 with options \\"\$ac_cs_config\\"
16501 Copyright (C) 2012 Free Software Foundation, Inc.
16502 This config.status script is free software; the Free Software Foundation
16503 gives unlimited permission to copy, distribute and modify it."
16507 test -n "\$AWK" || AWK=awk
16510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16511 # The default lists apply if the user does not specify any file.
16517 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16518 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16522 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16534 # Handling of the options.
16535 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16537 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16538 $as_echo "$ac_cs_version"; exit ;;
16539 --config |
--confi |
--conf |
--con |
--co |
--c )
16540 $as_echo "$ac_cs_config"; exit ;;
16541 --debug |
--debu |
--deb |
--de |
--d |
-d )
16543 --file |
--fil |
--fi |
--f )
16546 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16547 '') as_fn_error $?
"missing file argument" ;;
16549 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16550 ac_need_defaults
=false
;;
16551 --header |
--heade |
--head |
--hea )
16554 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16556 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16557 ac_need_defaults
=false
;;
16559 # Conflict between --help and --header
16560 as_fn_error $?
"ambiguous option: \`$1'
16561 Try \`$0 --help' for more information.";;
16562 --help |
--hel |
-h )
16563 $as_echo "$ac_cs_usage"; exit ;;
16564 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16565 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16568 # This is an error.
16569 -*) as_fn_error $?
"unrecognized option: \`$1'
16570 Try \`$0 --help' for more information." ;;
16572 *) as_fn_append ac_config_targets
" $1"
16573 ac_need_defaults
=false
;;
16579 ac_configure_extra_args
=
16581 if $ac_cs_silent; then
16583 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16588 if \$ac_cs_recheck; then
16589 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16591 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16592 CONFIG_SHELL='$SHELL'
16593 export CONFIG_SHELL
16598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16602 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16603 ## Running $as_me. ##
16609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16614 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
16615 aros_tools_dir=${aros_tools_dir}
16619 aros_host_exe_suffix=${aros_host_exe_suffix}
16620 aros_tools_dir=${aros_tools_dir}
16621 aros_target_cpu=${aros_target_cpu}
16622 aros_target_arch=${aros_target_arch}
16623 aros_target_suffix=${aros_target_suffix}
16624 orig_target_nm=${orig_target_nm}
16625 orig_target_as=${orig_target_as}
16626 orig_target_ar=${orig_target_ar}
16627 orig_target_ranlib=${orig_target_ranlib}
16628 orig_target_objdump=${orig_target_objdump}
16629 orig_target_objcopy=${orig_target_objcopy}
16630 orig_target_strip=${orig_target_strip}
16631 aros_kernel_ld=${aros_kernel_ld}
16635 aros_host_exe_suffix=${aros_host_exe_suffix}
16636 aros_tools_dir=${aros_tools_dir}
16637 aros_target_cpu=${aros_target_cpu}
16638 aros_target_arch=${aros_target_arch}
16639 aros_target_suffix=${aros_target_suffix}
16640 aros_kernel_ld=${aros_kernel_ld}
16644 aros_host_exe_suffix=${aros_host_exe_suffix}
16645 aros_tools_dir=${aros_tools_dir}
16646 aros_target_cpu=${aros_target_cpu}
16647 aros_target_arch=${aros_target_arch}
16648 aros_target_suffix=${aros_target_suffix}
16654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16656 # Handling of arguments.
16657 for ac_config_target
in $ac_config_targets
16659 case $ac_config_target in
16660 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
16661 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
16662 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16663 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
16664 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
16665 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
16666 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
16667 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
16668 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
16669 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
16670 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
16671 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
16672 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
16673 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
16674 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
16675 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
16676 "${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" ;;
16677 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
16678 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
16679 "${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" ;;
16680 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
16681 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
16682 "${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" ;;
16683 "${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" ;;
16684 "${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" ;;
16685 "${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" ;;
16686 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16688 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16693 # If the user did not use the arguments to specify the items to instantiate,
16694 # then the envvar interface is used. Set only those that are not.
16695 # We use the long form for the default assignment because of an extremely
16696 # bizarre bug on SunOS 4.1.3.
16697 if $ac_need_defaults; then
16698 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16699 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16700 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16703 # Have a temporary directory for convenience. Make it in the build tree
16704 # simply because there is no reason against having it here, and in addition,
16705 # creating and moving files from /tmp can sometimes cause problems.
16706 # Hook for its removal unless debugging.
16707 # Note that there is a small window in which the directory will not be cleaned:
16708 # after its creation but before its name has been assigned to `$tmp'.
16712 trap 'exit_status=$?
16713 : "${ac_tmp:=$tmp}"
16714 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16716 trap 'as_fn_exit 1' 1 2 13 15
16718 # Create a (secure) tmp directory for tmp files.
16721 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16725 tmp
=.
/conf$$
-$RANDOM
16726 (umask 077 && mkdir
"$tmp")
16727 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16730 # Set up the scripts for CONFIG_FILES section.
16731 # No need to generate them if there are no CONFIG_FILES.
16732 # This happens for instance with `./config.status config.h'.
16733 if test -n "$CONFIG_FILES"; then
16736 ac_cr
=`echo X | tr X '\015'`
16737 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16738 # But we know of no other shell where ac_cr would be empty at this
16739 # point, so we can use a bashism as a fallback.
16740 if test "x$ac_cr" = x
; then
16741 eval ac_cr
=\$
\'\\r
\'
16743 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16744 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16747 ac_cs_awk_cr
=$ac_cr
16750 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16755 echo "cat >conf$$subs.awk <<_ACEOF" &&
16756 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16758 } >conf$$subs.sh ||
16759 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16760 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16762 for ac_last_try in false false false false false :; do
16763 . ./conf$$subs.sh ||
16764 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16766 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16767 if test $ac_delim_n = $ac_delim_num; then
16769 elif $ac_last_try; then
16770 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16772 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16775 rm -f conf$$subs.sh
16777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16778 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16782 s/^/S["/; s
/!.
*/"]=/
16792 s/\(.\{148\}\)..*/\1/
16794 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16799 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16806 s/\(.\{148\}\)..*/\1/
16808 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16812 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16817 ' <conf$$subs.awk | sed '
16822 ' >>$CONFIG_STATUS || ac_write_fail=1
16823 rm -f conf$$subs.awk
16824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16826 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16827 for (key in S) S_is_set[key] = 1
16833 nfields = split(line, field, "@
")
16835 len = length(field[1])
16836 for (i = 2; i < nfields; i++) {
16838 keylen = length(key)
16839 if (S_is_set[key]) {
16841 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16842 len += length(value) + length(field[++i])
16853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16854 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16855 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16858 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16859 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16862 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16863 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16864 # trailing colons and then remove the whole line if VPATH becomes empty
16865 # (actually we leave an empty line to preserve line numbers).
16866 if test "x
$srcdir" = x.; then
16867 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16886 fi # test -n "$CONFIG_FILES"
16888 # Set up the scripts for CONFIG_HEADERS section.
16889 # No need to generate them if there are no CONFIG_HEADERS.
16890 # This happens for instance with `./config.status Makefile'.
16891 if test -n "$CONFIG_HEADERS"; then
16892 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16896 # Transform confdefs.h into an awk script `defines.awk', embedded as
16897 # here-document in config.status, that substitutes the proper values into
16898 # config.h.in to produce config.h.
16900 # Create a delimiter string that does not exist in confdefs.h, to ease
16901 # handling of long lines.
16903 for ac_last_try in false false :; do
16904 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16905 if test -z "$ac_tt"; then
16907 elif $ac_last_try; then
16908 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16910 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16914 # For the awk script, D is an array of macro values keyed by name,
16915 # likewise P contains macro parameters if any. Preserve backslash
16916 # newline sequences.
16918 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16920 s/.\{148\}/&'"$ac_delim"'/g
16923 s/^[ ]*#[ ]*define[ ][ ]*/ /
16930 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16932 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16936 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16937 D["\
1"]=" \
3\\\\\\n
"\\/p
16939 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16944 s/.\{148\}/&'"$ac_delim"'/g
16949 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16952 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16954 ' <confdefs.h | sed '
16955 s/'"$ac_delim"'/"\\\
16956 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16959 for (key in D) D_is_set[key] = 1
16962 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16964 split(line, arg, " ")
16965 if (arg[1] == "#") {
16969 defundef
= substr
(arg
[1], 2)
16972 split(mac1
, mac2
, "(") #)
16974 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16975 if (D_is_set
[macro
]) {
16976 # Preserve the white space surrounding the "#".
16977 print prefix
"define", macro P
[macro
] D
[macro
]
16980 # Replace #undef with comments. This is necessary, for example,
16981 # in the case of _POSIX_SOURCE, which is predefined and required
16982 # on some systems where configure will not decide to define it.
16983 if (defundef
== "undef") {
16984 print
"/*", prefix defundef
, macro
, "*/"
16992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16993 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16994 fi # test -n "$CONFIG_HEADERS"
16997 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17002 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17004 case $ac_mode$ac_tag in
17006 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17007 :[FH
]-) ac_tag
=-:-;;
17008 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17025 -) ac_f
="$ac_tmp/stdin";;
17026 *) # Look for the file first in the build tree, then in the source tree
17027 # (if the path is not absolute). The absolute path cannot be DOS-style,
17028 # because $ac_f cannot contain `:'.
17032 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17034 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17036 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17037 as_fn_append ac_file_inputs
" '$ac_f'"
17040 # Let's still pretend it is `configure' which instantiates (i.e., don't
17041 # use $as_me), people would be surprised to read:
17042 # /* config.h. Generated by config.status. */
17043 configure_input
='Generated from '`
17044 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17046 if test x
"$ac_file" != x-
; then
17047 configure_input
="$ac_file. $configure_input"
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17049 $as_echo "$as_me: creating $ac_file" >&6;}
17051 # Neutralize special characters interpreted by sed in replacement strings.
17052 case $configure_input in #(
17053 *\
&* |
*\|
* |
*\\* )
17054 ac_sed_conf_input
=`$as_echo "$configure_input" |
17055 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17056 *) ac_sed_conf_input
=$configure_input;;
17060 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17061 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17066 ac_dir
=`$as_dirname -- "$ac_file" ||
17067 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17068 X"$ac_file" : 'X\(//\)[^/]' \| \
17069 X"$ac_file" : 'X\(//\)$' \| \
17070 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17071 $as_echo X"$ac_file" |
17072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17076 /^X\(\/\/\)[^/].*/{
17089 as_dir
="$ac_dir"; as_fn_mkdir_p
17093 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17095 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17096 # A ".." for each directory in $ac_dir_suffix.
17097 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17098 case $ac_top_builddir_sub in
17099 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17100 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17103 ac_abs_top_builddir
=$ac_pwd
17104 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17105 # for backward compatibility:
17106 ac_top_builddir
=$ac_top_build_prefix
17109 .
) # We are building in place.
17111 ac_top_srcdir
=$ac_top_builddir_sub
17112 ac_abs_top_srcdir
=$ac_pwd ;;
17113 [\\/]* | ?
:[\\/]* ) # Absolute name.
17114 ac_srcdir
=$srcdir$ac_dir_suffix;
17115 ac_top_srcdir
=$srcdir
17116 ac_abs_top_srcdir
=$srcdir ;;
17117 *) # Relative name.
17118 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17119 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17120 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17122 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17134 # If the template does not know about datarootdir, expand it.
17135 # FIXME: This hack should be removed a few years after 2.60.
17136 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17147 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17148 *datarootdir
*) ac_datarootdir_seen
=yes;;
17149 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17151 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17154 ac_datarootdir_hack='
17155 s&@datadir@&$datadir&g
17156 s&@docdir@&$docdir&g
17157 s&@infodir@&$infodir&g
17158 s&@localedir@&$localedir&g
17159 s&@mandir@&$mandir&g
17160 s&\\\${datarootdir}&$datarootdir&g' ;;
17164 # Neutralize VPATH when `$srcdir' = `.'.
17165 # Shell code in configure.ac might set extrasub.
17166 # FIXME: do we really want to maintain this feature?
17167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17168 ac_sed_extra="$ac_vpsub
17171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17173 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17174 s|@configure_input@|
$ac_sed_conf_input|
;t t
17175 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17176 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17177 s
&@srcdir@
&$ac_srcdir&;t t
17178 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17179 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17180 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17181 s
&@builddir@
&$ac_builddir&;t t
17182 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17183 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17184 $ac_datarootdir_hack
17186 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17187 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17189 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17190 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17191 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17192 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17194 which seems to be undefined. Please make sure it is defined" >&5
17195 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17196 which seems to be undefined. Please make sure it is defined" >&2;}
17198 rm -f "$ac_tmp/stdin"
17200 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17201 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17209 if test x"$ac_file" != x-; then
17211 $as_echo "/* $configure_input */" \
17212 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17213 } >"$ac_tmp/config.h" \
17214 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17215 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17217 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17220 mv "$ac_tmp/config.h" "$ac_file" \
17221 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17224 $as_echo "/* $configure_input */" \
17225 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17226 || as_fn_error $? "could not create -" "$LINENO" 5
17230 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17231 $as_echo "$as_me: executing $ac_file commands" >&6;}
17236 case $ac_file$ac_mode in
17237 "genmf-executable-support":C)
17238 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
17239 chmod a+x ${aros_tools_dir}/genmf.py
17241 "binutils-support":C)
17242 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17244 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17246 chmod a+x ${prefix2}-ld
17248 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
17249 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
17250 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
17251 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
17252 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
17253 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
17254 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
17256 "elf-compiler-support":C)
17257 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17259 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
17261 chmod a+x ${prefix2}-gcc
17263 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
17265 "host-compiler-wrapper-support":C)
17266 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17268 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17270 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
17279 ac_clean_files=$ac_clean_files_save
17281 test $ac_write_fail = 0 ||
17282 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17285 # configure is writing to config.log, and then calls config.status.
17286 # config.status does its own redirection, appending to config.log.
17287 # Unfortunately, on DOS this fails, as config.log is still kept open
17288 # by configure, so config.status won't be able to
write to it
; its
17289 # output is simply discarded. So we exec the FD to /dev/null,
17290 # effectively closing config.log, so it can be properly (re)opened and
17291 # appended to by config.status. When coming back to configure, we
17292 # need to make the FD available again.
17293 if test "$no_create" != yes; then
17295 ac_config_status_args
=
17296 test "$silent" = yes &&
17297 ac_config_status_args
="$ac_config_status_args --quiet"
17299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17302 # would make configure fail if this is the last instruction.
17303 $ac_cs_success || as_fn_exit
1
17305 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17307 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17312 #XXX compatability...
17313 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
17315 if test -n "$aros_shared_cflags" ; then
17316 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
17317 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg