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 if test "x$IS_GNU_COMPILER" = "x"; then
4320 IS_GNU_COMPILER
=`echo $HOST_COMPILER_VERSION | grep -i -c -E 'gcc'`
4322 if test "$IS_GNU_COMPILER" -ne "0"; then
4323 HOST_TOOLCHAIN_PREFIX
=
4324 HOST_TOOLCHAIN_SUFFIX
=
4325 HOST_TOOLCHAIN_FAMILY
=gnu
4327 if test x
"$HOST_TOOLCHAIN_FAMILY" = "x"; then
4328 HOST_TOOLCHAIN_FAMILY
=unknown
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOST_TOOLCHAIN_FAMILY" >&5
4331 $as_echo "$HOST_TOOLCHAIN_FAMILY" >&6; }
4333 # Check for a compatible awk
4334 for ac_prog
in gawk nawk
4336 # Extract the first word of "$ac_prog", so it can be a program name with args.
4337 set dummy
$ac_prog; ac_word
=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_prog_AWK+:} false
; then :
4341 $as_echo_n "(cached) " >&6
4343 if test -n "$AWK"; then
4344 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4350 test -z "$as_dir" && as_dir
=.
4351 for ac_exec_ext
in '' $ac_executable_extensions; do
4352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4353 ac_cv_prog_AWK
="$ac_prog"
4354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 if test -n "$AWK"; then
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4366 $as_echo "$AWK" >&6; }
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369 $as_echo "no" >&6; }
4373 test -n "$AWK" && break
4377 if test "$AWK" = ""; then
4380 if test "$AWK" = "no"; then
4383 if test "$req_avail" = "no"; then
4384 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
4386 # Extract the first word of "mmake", so it can be a program name with args.
4387 set dummy mmake
; ac_word
=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_prog_MMAKE+:} false
; then :
4391 $as_echo_n "(cached) " >&6
4393 if test -n "$MMAKE"; then
4394 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
4396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4400 test -z "$as_dir" && as_dir
=.
4401 for ac_exec_ext
in '' $ac_executable_extensions; do
4402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4403 ac_cv_prog_MMAKE
="mmake "
4404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 MMAKE
=$ac_cv_prog_MMAKE
4414 if test -n "$MMAKE"; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
4416 $as_echo "$MMAKE" >&6; }
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4419 $as_echo "no" >&6; }
4424 # Perform some default variable assignments. Note all of these will be
4425 # Regenerated from the script, so there is no need to cache them.
4427 aros_build_host
=$host
4428 aros_host_cpp
="$CPP"
4430 aros_host_cxx
="$CXX"
4431 base_ld_name
=${HOST_TOOLCHAIN_PREFIX}ld
${HOST_TOOLCHAIN_SUFFIX}
4432 if test "$HOST_TOOLCHAIN_FAMILY" = "llvm"; then
4433 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}
4435 # Extract the first word of "$ac_prog", so it can be a program name with args.
4436 set dummy
$ac_prog; ac_word
=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if ${ac_cv_prog_base_lld_name+:} false
; then :
4440 $as_echo_n "(cached) " >&6
4442 if test -n "$base_lld_name"; then
4443 ac_cv_prog_base_lld_name
="$base_lld_name" # Let the user override the test.
4445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir
=.
4450 for ac_exec_ext
in '' $ac_executable_extensions; do
4451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4452 ac_cv_prog_base_lld_name
="$ac_prog"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 base_lld_name
=$ac_cv_prog_base_lld_name
4463 if test -n "$base_lld_name"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $base_lld_name" >&5
4465 $as_echo "$base_lld_name" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4472 test -n "$base_lld_name" && break
4475 base_ld_name
=$base_lld_name
4478 if test "$base_ld_name" = ""; then
4481 ac_tool_ld
=$base_ld_name
4483 if test "$GCC" = "yes"; then
4484 aros_gcc_ld
=`$CC -print-prog-name=$ac_tool_ld`
4485 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
4486 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4488 $as_echo_n "checking for $ac_word... " >&6; }
4489 if ${ac_cv_path_aros_host_ld+:} false
; then :
4490 $as_echo_n "(cached) " >&6
4492 case $aros_host_ld in
4494 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4498 for as_dir
in `dirname $aros_gcc_ld`
4501 test -z "$as_dir" && as_dir
=.
4502 for ac_exec_ext
in '' $ac_executable_extensions; do
4503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4504 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4515 aros_host_ld
=$ac_cv_path_aros_host_ld
4516 if test -n "$aros_host_ld"; then
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4518 $as_echo "$aros_host_ld" >&6; }
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521 $as_echo "no" >&6; }
4526 if test "$aros_host_ld" = ""; then
4527 for ac_prog
in $ac_tool_ld
4529 # Extract the first word of "$ac_prog", so it can be a program name with args.
4530 set dummy
$ac_prog; ac_word
=$2
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 $as_echo_n "checking for $ac_word... " >&6; }
4533 if ${ac_cv_path_aros_host_ld+:} false
; then :
4534 $as_echo_n "(cached) " >&6
4536 case $aros_host_ld in
4538 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4545 test -z "$as_dir" && as_dir
=.
4546 for ac_exec_ext
in '' $ac_executable_extensions; do
4547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4548 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4559 aros_host_ld
=$ac_cv_path_aros_host_ld
4560 if test -n "$aros_host_ld"; then
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4562 $as_echo "$aros_host_ld" >&6; }
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4565 $as_echo "no" >&6; }
4569 test -n "$aros_host_ld" && break
4575 if test "$aros_host_ld" = ""; then
4578 if test "$aros_host_ld" = "no"; then
4581 if test "$req_avail" = "no"; then
4582 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4584 aros_host_make
="make"
4585 aros_host_cflags
="$CFLAGS"
4586 aros_host_cxxflags
="$CXXFLAGS"
4587 aros_host_cppflags
="$CPPFLAGS"
4588 aros_host_ldflags
="$LDFLAGS"
4589 aros_host_debug
="-g -O0"
4590 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4591 aros_host_mkargs
="--no-print-directory"
4592 aros_host_exe_suffix
="$EXEEXT"
4593 aros_host_lib_suffix
=""
4595 # Ignore all compliance, AROS ROMs = 0
4596 # KickStart v1.0 = 30
4597 # KickStart v1.3 = 34
4598 # KickStart v2.0 = 37
4599 # KickStart v3.0 = 39
4600 # KickStart v3.1 = 40
4602 aros_amigaos_compliance
=0
4604 for ac_prog
in aclocal aclocal19 aclocal-1.9
4606 # Extract the first word of "$ac_prog", so it can be a program name with args.
4607 set dummy
$ac_prog; ac_word
=$2
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 $as_echo_n "checking for $ac_word... " >&6; }
4610 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4611 $as_echo_n "(cached) " >&6
4613 if test -n "$aros_host_aclocal"; then
4614 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4620 test -z "$as_dir" && as_dir
=.
4621 for ac_exec_ext
in '' $ac_executable_extensions; do
4622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4634 if test -n "$aros_host_aclocal"; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4636 $as_echo "$aros_host_aclocal" >&6; }
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4643 test -n "$aros_host_aclocal" && break
4646 for ac_prog
in autoconf autoconf259 autoconf253
4648 # Extract the first word of "$ac_prog", so it can be a program name with args.
4649 set dummy
$ac_prog; ac_word
=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$aros_host_autoconf"; then
4656 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir
=.
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4676 if test -n "$aros_host_autoconf"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4678 $as_echo "$aros_host_autoconf" >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4685 test -n "$aros_host_autoconf" && break
4688 for ac_prog
in autoheader autoheader259 autoheader253
4690 # Extract the first word of "$ac_prog", so it can be a program name with args.
4691 set dummy
$ac_prog; ac_word
=$2
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4693 $as_echo_n "checking for $ac_word... " >&6; }
4694 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4695 $as_echo_n "(cached) " >&6
4697 if test -n "$aros_host_autoheader"; then
4698 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir
=.
4705 for ac_exec_ext
in '' $ac_executable_extensions; do
4706 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4707 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4718 if test -n "$aros_host_autoheader"; then
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4720 $as_echo "$aros_host_autoheader" >&6; }
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4723 $as_echo "no" >&6; }
4727 test -n "$aros_host_autoheader" && break
4730 for ac_prog
in automake automake19 automake-1.9
4732 # Extract the first word of "$ac_prog", so it can be a program name with args.
4733 set dummy
$ac_prog; ac_word
=$2
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4735 $as_echo_n "checking for $ac_word... " >&6; }
4736 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4737 $as_echo_n "(cached) " >&6
4739 if test -n "$aros_host_automake"; then
4740 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4746 test -z "$as_dir" && as_dir
=.
4747 for ac_exec_ext
in '' $ac_executable_extensions; do
4748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4749 ac_cv_prog_aros_host_automake
="$ac_prog"
4750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4759 aros_host_automake
=$ac_cv_prog_aros_host_automake
4760 if test -n "$aros_host_automake"; then
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4762 $as_echo "$aros_host_automake" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4769 test -n "$aros_host_automake" && break
4774 if test "$aros_host_aclocal" = ""; then
4777 if test "$aros_host_aclocal" = "no"; then
4780 if test "$req_avail" = "no"; then
4781 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4784 if test "$aros_host_automake" = ""; then
4787 if test "$aros_host_automake" = "no"; then
4790 if test "$req_avail" = "no"; then
4791 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4794 case "$aros_host_cc" in
4796 aros_host_cc_pipe
=""
4799 aros_host_cc_pipe
="-pipe"
4802 aros_host_cc_pipe
=""
4805 aros_host_cc_pipe
=""
4809 aros_kernel_cc_includes
=""
4810 aros_target_cc_includes
=""
4813 # ----------------------------------------------------------------------------------------
4814 # Host-specific defaults
4816 # This is the main host configuration section. It is where the host
4817 # can change the values of any variables it needs to change. We do
4818 # not look at anything that compiles to the target yet, we'll get
4823 aros_host_arch
="aros"
4824 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4827 aros_host_cpu
="i386"
4830 aros_host_cpu
="x86_64"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4837 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4838 aros_host_cpu
="$host_cpu"
4844 aros_host_arch
="linux"
4845 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4846 android_build_os
="linux-x86"
4847 android_tool
="android"
4848 default_android_sdk
="/opt/android-sdk-linux_x86"
4851 aros_host_cpu
="i386"
4854 aros_host_cpu
="x86_64"
4857 aros_host_cpu
="m68k"
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4867 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4868 aros_host_cpu
="$host_cpu"
4874 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe -I/usr/local/include"
4875 aros_host_make
="gmake"
4876 aros_host_arch
="freebsd"
4877 aros_host_cpu
="i386"
4879 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4883 aros_object_format
="elf_i386"
4887 aros_object_format
="elf_i386_fbsd"
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for macOS SDK files" >&5
4895 $as_echo_n "checking for macOS SDK files... " >&6; }
4896 LOC
=$
( xcode-select
-p )
4897 if test $?
!= 0; then :
4898 as_fn_error $?
"XCode incorrectly configured!
4899 please run 'xcode-select --install' before
4900 re-running configure" "$LINENO" 5
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOC" >&5
4903 $as_echo "$LOC" >&6; }
4904 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4905 aros_host_arch
="darwin"
4907 if [ -z ${SED+x} ]; then SED
="gsed"; fi
4908 android_build_os
="darwin-x86"
4909 android_tool
="android"
4910 default_android_sdk
="/android-sdk-mac_x86"
4913 aros_host_cpu
="i386"
4916 aros_host_cpu
="x86_64"
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4923 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4924 aros_host_cpu
="$host_cpu"
4928 aros_host_ldflags
="$aros_host_ldflags -liconv"
4933 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4934 aros_host_make
="gmake"
4935 aros_host_arch
="dragonfly"
4938 aros_host_cpu
="i386"
4941 aros_host_cpu
="x86_64"
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4945 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4946 aros_host_cpu
="$host_cpu"
4952 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4953 aros_host_make
="gmake"
4954 aros_host_arch
="netbsd"
4957 aros_host_cpu
="i386"
4960 aros_host_cpu
="m68k"
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4964 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4965 aros_host_cpu
="$host_cpu"
4968 aros_host_lib_suffix
=".0.0"
4972 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4973 aros_host_make
="gmake"
4974 aros_host_arch
="openbsd"
4977 aros_host_cpu
="i386"
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4981 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4982 aros_host_cpu
="$host_cpu"
4988 aros_host_arch
="solaris"
4989 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
4992 aros_host_cpu
="i386"
4995 aros_host_cpu
="sparc"
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4999 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5000 aros_host_cpu
="$host_cpu"
5006 aros_host_arch
="morphos"
5012 aros_host_arch
="amiga"
5018 TOUCH
="/gg/bin/touch"
5021 aros_host_cpu
="m68k"
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5028 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5029 aros_host_cpu
="$host_cpu"
5035 aros_host_arch
="cygwin"
5036 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
5038 android_build_os
="windows"
5039 android_tool
="android.bat"
5040 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
5044 aros_host_cpu
="i386"
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5048 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5049 aros_host_cpu
="$host_cpu"
5055 aros_host_arch
="mingw32"
5056 aros_host_cflags
="$aros_host_cflags $aros_host_cc_pipe"
5058 android_build_os
="windows"
5059 android_tool
="android.bat"
5060 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
5062 libpng_libextra
="-lws2_32"
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows native gcc target" >&5
5068 $as_echo_n "checking for Windows native gcc target... " >&6; }
5069 host_cpu
=`gcc -dumpmachine`
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_cpu" >&5
5071 $as_echo "$host_cpu" >&6; }
5078 aros_host_cpu
="i386"
5082 aros_host_cpu
="i386"
5086 aros_host_cpu
="x86_64"
5087 aros_host_cflags
="$aros_host_cflags -isystem /mingw/include"
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
5092 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
5093 aros_host_cpu
="$host_cpu"
5098 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
5102 base_ar_name
=${HOST_TOOLCHAIN_PREFIX}ar${HOST_TOOLCHAIN_SUFFIX}
5103 # Extract the first word of "$base_ar_name", so it can be a program name with args.
5104 set dummy
$base_ar_name; ac_word
=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if ${ac_cv_prog_aros_host_cmd_ar+:} false
; then :
5108 $as_echo_n "(cached) " >&6
5110 if test -n "$aros_host_cmd_ar"; then
5111 ac_cv_prog_aros_host_cmd_ar
="$aros_host_cmd_ar" # Let the user override the test.
5113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir
=.
5118 for ac_exec_ext
in '' $ac_executable_extensions; do
5119 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_prog_aros_host_cmd_ar
="$base_ar_name cr"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 aros_host_cmd_ar
=$ac_cv_prog_aros_host_cmd_ar
5131 if test -n "$aros_host_cmd_ar"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_cmd_ar" >&5
5133 $as_echo "$aros_host_cmd_ar" >&6; }
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5140 # Extract the first word of "$aros_host_cmd_ar", so it can be a program name with args.
5141 set dummy
$aros_host_cmd_ar; ac_word
=$2
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143 $as_echo_n "checking for $ac_word... " >&6; }
5144 if ${ac_cv_path_aros_host_full_ar+:} false
; then :
5145 $as_echo_n "(cached) " >&6
5147 case $aros_host_full_ar in
5149 ac_cv_path_aros_host_full_ar
="$aros_host_full_ar" # Let the user override the test with a path.
5152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir
=.
5157 for ac_exec_ext
in '' $ac_executable_extensions; do
5158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5159 ac_cv_path_aros_host_full_ar
="$as_dir/$ac_word$ac_exec_ext"
5160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 test -z "$ac_cv_path_aros_host_full_ar" && ac_cv_path_aros_host_full_ar
="$aros_host_cmd_ar "
5171 aros_host_full_ar
=$ac_cv_path_aros_host_full_ar
5172 if test -n "$aros_host_full_ar"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_full_ar" >&5
5174 $as_echo "$aros_host_full_ar" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5181 aros_host_ar
=`echo $aros_host_cmd_ar | sed -e "s|$base_ar_name|$aros_host_full_ar|g"`
5183 if test "$aros_host_ar" = ""; then
5186 if test "$aros_host_ar" = "no"; then
5189 if test "$req_avail" = "no"; then
5190 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
5192 base_ranlib_name
=${HOST_TOOLCHAIN_PREFIX}ranlib
${HOST_TOOLCHAIN_SUFFIX}
5193 # Extract the first word of "$base_ranlib_name", so it can be a program name with args.
5194 set dummy
$base_ranlib_name; ac_word
=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_path_aros_host_ranlib+:} false
; then :
5198 $as_echo_n "(cached) " >&6
5200 case $aros_host_ranlib in
5202 ac_cv_path_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test with a path.
5205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir
=.
5210 for ac_exec_ext
in '' $ac_executable_extensions; do
5211 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_path_aros_host_ranlib
="$as_dir/$ac_word$ac_exec_ext"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 test -z "$ac_cv_path_aros_host_ranlib" && ac_cv_path_aros_host_ranlib
="$base_ranlib_name "
5224 aros_host_ranlib
=$ac_cv_path_aros_host_ranlib
5225 if test -n "$aros_host_ranlib"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
5227 $as_echo "$aros_host_ranlib" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5235 if test "$aros_host_ranlib" = ""; then
5238 if test "$aros_host_ranlib" = "no"; then
5241 if test "$req_avail" = "no"; then
5242 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
5244 # Extract the first word of "strip", so it can be a program name with args.
5245 set dummy strip
; ac_word
=$2
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5247 $as_echo_n "checking for $ac_word... " >&6; }
5248 if ${ac_cv_prog_aros_host_strip+:} false
; then :
5249 $as_echo_n "(cached) " >&6
5251 if test -n "$aros_host_strip"; then
5252 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
5254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5258 test -z "$as_dir" && as_dir
=.
5259 for ac_exec_ext
in '' $ac_executable_extensions; do
5260 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5261 ac_cv_prog_aros_host_strip
="strip "
5262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 aros_host_strip
=$ac_cv_prog_aros_host_strip
5272 if test -n "$aros_host_strip"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
5274 $as_echo "$aros_host_strip" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5282 if test "$aros_host_strip" = ""; then
5285 if test "$aros_host_strip" = "no"; then
5288 if test "$req_avail" = "no"; then
5289 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
5292 # Extract the first word of "rm", so it can be a program name with args.
5293 set dummy
rm; ac_word
=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_prog_RM+:} false
; then :
5297 $as_echo_n "(cached) " >&6
5299 if test -n "$RM"; then
5300 ac_cv_prog_RM
="$RM" # Let the user override the test.
5302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5306 test -z "$as_dir" && as_dir
=.
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5309 ac_cv_prog_RM
="rm -rf"
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 if test -n "$RM"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5322 $as_echo "$RM" >&6; }
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5330 if test "$RM" = ""; then
5333 if test "$RM" = "no"; then
5336 if test "$req_avail" = "no"; then
5337 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
5339 # Extract the first word of "cp", so it can be a program name with args.
5340 set dummy
cp; ac_word
=$2
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342 $as_echo_n "checking for $ac_word... " >&6; }
5343 if ${ac_cv_prog_CP+:} false
; then :
5344 $as_echo_n "(cached) " >&6
5346 if test -n "$CP"; then
5347 ac_cv_prog_CP
="$CP" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 if test -n "$CP"; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5369 $as_echo "$CP" >&6; }
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5377 if test "$CP" = ""; then
5380 if test "$CP" = "no"; then
5383 if test "$req_avail" = "no"; then
5384 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
5386 # Extract the first word of "mv", so it can be a program name with args.
5387 set dummy
mv; ac_word
=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_prog_MV+:} false
; then :
5391 $as_echo_n "(cached) " >&6
5393 if test -n "$MV"; then
5394 ac_cv_prog_MV
="$MV" # Let the user override the test.
5396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5400 test -z "$as_dir" && as_dir
=.
5401 for ac_exec_ext
in '' $ac_executable_extensions; do
5402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 if test -n "$MV"; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5416 $as_echo "$MV" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5419 $as_echo "no" >&6; }
5424 if test "$MV" = ""; then
5427 if test "$MV" = "no"; then
5430 if test "$req_avail" = "no"; then
5431 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
5433 # Extract the first word of "echo", so it can be a program name with args.
5434 set dummy
echo; ac_word
=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_ECHO+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$ECHO"; then
5441 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_ECHO
="echo "
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 ECHO
=$ac_cv_prog_ECHO
5461 if test -n "$ECHO"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
5463 $as_echo "$ECHO" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5471 if test "$ECHO" = ""; then
5474 if test "$ECHO" = "no"; then
5477 if test "$req_avail" = "no"; then
5478 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
5480 # Extract the first word of "mkdir", so it can be a program name with args.
5481 set dummy mkdir
; ac_word
=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5483 $as_echo_n "checking for $ac_word... " >&6; }
5484 if ${ac_cv_prog_MKDIR+:} false
; then :
5485 $as_echo_n "(cached) " >&6
5487 if test -n "$MKDIR"; then
5488 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
5490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir
=.
5495 for ac_exec_ext
in '' $ac_executable_extensions; do
5496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5497 ac_cv_prog_MKDIR
="mkdir -p"
5498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 MKDIR
=$ac_cv_prog_MKDIR
5508 if test -n "$MKDIR"; then
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
5510 $as_echo "$MKDIR" >&6; }
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5513 $as_echo "no" >&6; }
5518 if test "$MKDIR" = ""; then
5521 if test "$MKDIR" = "no"; then
5524 if test "$req_avail" = "no"; then
5525 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
5527 # Extract the first word of "touch", so it can be a program name with args.
5528 set dummy
touch; ac_word
=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_TOUCH+:} false
; then :
5532 $as_echo_n "(cached) " >&6
5534 if test -n "$TOUCH"; then
5535 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
5537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir
=.
5542 for ac_exec_ext
in '' $ac_executable_extensions; do
5543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5544 ac_cv_prog_TOUCH
="touch "
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 TOUCH
=$ac_cv_prog_TOUCH
5555 if test -n "$TOUCH"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5557 $as_echo "$TOUCH" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5565 if test "$TOUCH" = ""; then
5568 if test "$TOUCH" = "no"; then
5571 if test "$req_avail" = "no"; then
5572 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
5574 # Extract the first word of "sort", so it can be a program name with args.
5575 set dummy
sort; ac_word
=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5577 $as_echo_n "checking for $ac_word... " >&6; }
5578 if ${ac_cv_prog_SORT+:} false
; then :
5579 $as_echo_n "(cached) " >&6
5581 if test -n "$SORT"; then
5582 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
5584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5588 test -z "$as_dir" && as_dir
=.
5589 for ac_exec_ext
in '' $ac_executable_extensions; do
5590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5591 ac_cv_prog_SORT
="sort "
5592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 SORT
=$ac_cv_prog_SORT
5602 if test -n "$SORT"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
5604 $as_echo "$SORT" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5612 if test "$SORT" = ""; then
5615 if test "$SORT" = "no"; then
5618 if test "$req_avail" = "no"; then
5619 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
5621 # Extract the first word of "uniq", so it can be a program name with args.
5622 set dummy
uniq; ac_word
=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_UNIQ+:} false
; then :
5626 $as_echo_n "(cached) " >&6
5628 if test -n "$UNIQ"; then
5629 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
5631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5635 test -z "$as_dir" && as_dir
=.
5636 for ac_exec_ext
in '' $ac_executable_extensions; do
5637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5638 ac_cv_prog_UNIQ
="uniq "
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 UNIQ
=$ac_cv_prog_UNIQ
5649 if test -n "$UNIQ"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
5651 $as_echo "$UNIQ" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5659 if test "$UNIQ" = ""; then
5662 if test "$UNIQ" = "no"; then
5665 if test "$req_avail" = "no"; then
5666 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
5668 # Extract the first word of "true", so it can be a program name with args.
5669 set dummy true
; ac_word
=$2
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if ${ac_cv_prog_NOP+:} false
; then :
5673 $as_echo_n "(cached) " >&6
5675 if test -n "$NOP"; then
5676 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
5678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir
=.
5683 for ac_exec_ext
in '' $ac_executable_extensions; do
5684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_NOP
="true "
5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 if test -n "$NOP"; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5698 $as_echo "$NOP" >&6; }
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }
5706 if test "$NOP" = ""; then
5709 if test "$NOP" = "no"; then
5712 if test "$req_avail" = "no"; then
5713 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5715 # Extract the first word of "cat", so it can be a program name with args.
5716 set dummy
cat; ac_word
=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if ${ac_cv_prog_CAT+:} false
; then :
5720 $as_echo_n "(cached) " >&6
5722 if test -n "$CAT"; then
5723 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir
=.
5730 for ac_exec_ext
in '' $ac_executable_extensions; do
5731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5732 ac_cv_prog_CAT
="cat "
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 if test -n "$CAT"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5745 $as_echo "$CAT" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5753 if test "$CAT" = ""; then
5756 if test "$CAT" = "no"; then
5759 if test "$req_avail" = "no"; then
5760 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5762 # Extract the first word of "bison", so it can be a program name with args.
5763 set dummy bison
; ac_word
=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if ${ac_cv_prog_BISON+:} false
; then :
5767 $as_echo_n "(cached) " >&6
5769 if test -n "$BISON"; then
5770 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir
=.
5777 for ac_exec_ext
in '' $ac_executable_extensions; do
5778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_BISON
="bison "
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 BISON
=$ac_cv_prog_BISON
5790 if test -n "$BISON"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5792 $as_echo "$BISON" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5800 if test "$BISON" = ""; then
5803 if test "$BISON" = "no"; then
5806 if test "$req_avail" = "no"; then
5807 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5809 # Extract the first word of "flex", so it can be a program name with args.
5810 set dummy flex
; ac_word
=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if ${ac_cv_prog_FLEX+:} false
; then :
5814 $as_echo_n "(cached) " >&6
5816 if test -n "$FLEX"; then
5817 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir
=.
5824 for ac_exec_ext
in '' $ac_executable_extensions; do
5825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5826 ac_cv_prog_FLEX
="flex "
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 FLEX
=$ac_cv_prog_FLEX
5837 if test -n "$FLEX"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5839 $as_echo "$FLEX" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5847 if test "$FLEX" = ""; then
5850 if test "$FLEX" = "no"; then
5853 if test "$req_avail" = "no"; then
5854 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $FLEX" >&5
5857 $as_echo_n "checking version of $FLEX... " >&6; }
5858 ax_cv_flex_version
="`$FLEX --version | cut -d\" \" -f2`"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_flex_version" >&5
5860 $as_echo "$ax_cv_flex_version" >&6; }
5861 # Extract the first word of "pngtopnm", so it can be a program name with args.
5862 set dummy pngtopnm
; ac_word
=$2
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5864 $as_echo_n "checking for $ac_word... " >&6; }
5865 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5866 $as_echo_n "(cached) " >&6
5868 if test -n "$PNGTOPNM"; then
5869 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5875 test -z "$as_dir" && as_dir
=.
5876 for ac_exec_ext
in '' $ac_executable_extensions; do
5877 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_PNGTOPNM
="pngtopnm "
5879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5889 if test -n "$PNGTOPNM"; then
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5891 $as_echo "$PNGTOPNM" >&6; }
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5894 $as_echo "no" >&6; }
5899 if test "$PNGTOPNM" = ""; then
5902 if test "$PNGTOPNM" = "no"; then
5905 if test "$req_avail" = "no"; then
5906 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5908 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5909 set dummy ppmtoilbm
; ac_word
=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5913 $as_echo_n "(cached) " >&6
5915 if test -n "$PPMTOILBM"; then
5916 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir
=.
5923 for ac_exec_ext
in '' $ac_executable_extensions; do
5924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5936 if test -n "$PPMTOILBM"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5938 $as_echo "$PPMTOILBM" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5946 if test "$PPMTOILBM" = ""; then
5949 if test "$PPMTOILBM" = "no"; then
5952 if test "$req_avail" = "no"; then
5953 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5955 # Extract the first word of "sed", so it can be a program name with args.
5956 set dummy
sed; ac_word
=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_SED+:} false
; then :
5960 $as_echo_n "(cached) " >&6
5962 if test -n "$SED"; then
5963 ac_cv_prog_SED
="$SED" # Let the user override the test.
5965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir
=.
5970 for ac_exec_ext
in '' $ac_executable_extensions; do
5971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_SED
="sed "
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 if test -n "$SED"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5985 $as_echo "$SED" >&6; }
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5993 if test "$SED" = ""; then
5996 if test "$SED" = "no"; then
5999 if test "$req_avail" = "no"; then
6000 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
6002 # Extract the first word of "chmod", so it can be a program name with args.
6003 set dummy
chmod; ac_word
=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if ${ac_cv_prog_CHMOD+:} false
; then :
6007 $as_echo_n "(cached) " >&6
6009 if test -n "$CHMOD"; then
6010 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
6012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6016 test -z "$as_dir" && as_dir
=.
6017 for ac_exec_ext
in '' $ac_executable_extensions; do
6018 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_CHMOD
="chmod "
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029 CHMOD
=$ac_cv_prog_CHMOD
6030 if test -n "$CHMOD"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
6032 $as_echo "$CHMOD" >&6; }
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6040 if test "$CHMOD" = ""; then
6043 if test "$CHMOD" = "no"; then
6046 if test "$req_avail" = "no"; then
6047 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
6049 # Extract the first word of "patch", so it can be a program name with args.
6050 set dummy
patch; ac_word
=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 $as_echo_n "checking for $ac_word... " >&6; }
6053 if ${ac_cv_prog_PATCH+:} false
; then :
6054 $as_echo_n "(cached) " >&6
6056 if test -n "$PATCH"; then
6057 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
6059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir
=.
6064 for ac_exec_ext
in '' $ac_executable_extensions; do
6065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6066 ac_cv_prog_PATCH
="patch "
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 PATCH
=$ac_cv_prog_PATCH
6077 if test -n "$PATCH"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
6079 $as_echo "$PATCH" >&6; }
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 $as_echo "no" >&6; }
6087 if test "$PATCH" = ""; then
6090 if test "$PATCH" = "no"; then
6093 if test "$req_avail" = "no"; then
6094 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
6103 if test -n "$PYTHON"; then
6104 # If the user set $PYTHON, use it and don't search something else.
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
6106 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
6108 # split strings by '.' and convert to numeric. Append some zeros
6109 # because we need at least 4 digits for the hex conversion.
6110 # map returns an iterator in Python 3.0 and a list in 2.x
6111 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6113 # xrange is not present in Python 3.0 and range returns an iterator
6114 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6115 sys.exit(sys.hexversion < minverhex)"
6116 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
6117 ($PYTHON -c "$prog") >&5 2>&5
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; then :
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6122 $as_echo "yes" >&6; }
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6126 as_fn_error $?
"Python interpreter is too old" "$LINENO" 5
6128 am_display_PYTHON
=$PYTHON
6130 # Otherwise, try each interpreter until we find one that satisfies
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
6133 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
6134 if ${am_cv_pathless_PYTHON+:} false
; then :
6135 $as_echo_n "(cached) " >&6
6138 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
6139 test "$am_cv_pathless_PYTHON" = none
&& break
6141 # split strings by '.' and convert to numeric. Append some zeros
6142 # because we need at least 4 digits for the hex conversion.
6143 # map returns an iterator in Python 3.0 and a list in 2.x
6144 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
6146 # xrange is not present in Python 3.0 and range returns an iterator
6147 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
6148 sys.exit(sys.hexversion < minverhex)"
6149 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
6150 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; then :
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
6159 $as_echo "$am_cv_pathless_PYTHON" >&6; }
6160 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
6161 if test "$am_cv_pathless_PYTHON" = none
; then
6164 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
6165 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_path_PYTHON+:} false
; then :
6169 $as_echo_n "(cached) " >&6
6173 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
6176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6180 test -z "$as_dir" && as_dir
=.
6181 for ac_exec_ext
in '' $ac_executable_extensions; do
6182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6194 PYTHON
=$ac_cv_path_PYTHON
6195 if test -n "$PYTHON"; then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
6197 $as_echo "$PYTHON" >&6; }
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 $as_echo "no" >&6; }
6205 am_display_PYTHON
=$am_cv_pathless_PYTHON
6209 if test "$PYTHON" = :; then
6210 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
6215 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
6216 if ${am_cv_python_version+:} false
; then :
6217 $as_echo_n "(cached) " >&6
6219 am_cv_python_version
=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
6222 $as_echo "$am_cv_python_version" >&6; }
6223 PYTHON_VERSION
=$am_cv_python_version
6227 PYTHON_PREFIX
='${prefix}'
6229 PYTHON_EXEC_PREFIX
='${exec_prefix}'
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
6234 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
6235 if ${am_cv_python_platform+:} false
; then :
6236 $as_echo_n "(cached) " >&6
6238 am_cv_python_platform
=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
6241 $as_echo "$am_cv_python_platform" >&6; }
6242 PYTHON_PLATFORM
=$am_cv_python_platform
6245 # Just factor out some code duplication.
6246 am_python_setup_sysconfig
="\
6248 # Prefer sysconfig over distutils.sysconfig, for better compatibility
6249 # with python 3.x. See automake bug#10227.
6253 can_use_sysconfig = 0
6255 can_use_sysconfig = 1
6256 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
6257 # <https://github.com/pypa/virtualenv/issues/118>
6259 from platform import python_implementation
6260 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
6261 can_use_sysconfig = 0
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
6267 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
6268 if ${am_cv_python_pythondir+:} false
; then :
6269 $as_echo_n "(cached) " >&6
6271 if test "x$prefix" = xNONE
6273 am_py_prefix
=$ac_default_prefix
6275 am_py_prefix
=$prefix
6277 am_cv_python_pythondir
=`$PYTHON -c "
6278 $am_python_setup_sysconfig
6279 if can_use_sysconfig:
6280 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
6282 from distutils import sysconfig
6283 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
6284 sys.stdout.write(sitedir)"`
6285 case $am_cv_python_pythondir in
6287 am__strip_prefix
=`echo "$am_py_prefix" | sed 's|.|.|g'`
6288 am_cv_python_pythondir
=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
6291 case $am_py_prefix in
6294 am_cv_python_pythondir
=$PYTHON_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
6302 $as_echo "$am_cv_python_pythondir" >&6; }
6303 pythondir
=$am_cv_python_pythondir
6307 pkgpythondir
=\
${pythondir}/$PACKAGE
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
6311 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
6312 if ${am_cv_python_pyexecdir+:} false
; then :
6313 $as_echo_n "(cached) " >&6
6315 if test "x$exec_prefix" = xNONE
6317 am_py_exec_prefix
=$am_py_prefix
6319 am_py_exec_prefix
=$exec_prefix
6321 am_cv_python_pyexecdir
=`$PYTHON -c "
6322 $am_python_setup_sysconfig
6323 if can_use_sysconfig:
6324 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
6326 from distutils import sysconfig
6327 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
6328 sys.stdout.write(sitedir)"`
6329 case $am_cv_python_pyexecdir in
6330 $am_py_exec_prefix*)
6331 am__strip_prefix
=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
6332 am_cv_python_pyexecdir
=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
6335 case $am_py_exec_prefix in
6338 am_cv_python_pyexecdir
=$PYTHON_EXEC_PREFIX/lib
/python
$PYTHON_VERSION/site-packages
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
6346 $as_echo "$am_cv_python_pyexecdir" >&6; }
6347 pyexecdir
=$am_cv_python_pyexecdir
6351 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
6359 # Check whether --enable-libpng-config was given.
6360 if test "${enable_libpng_config+set}" = set; then :
6361 enableval
=$enable_libpng_config;
6364 if test "$enable_libpng_config" != "no"; then
6365 # Extract the first word of "libpng-config", so it can be a program name with args.
6366 set dummy libpng-config
; ac_word
=$2
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6368 $as_echo_n "checking for $ac_word... " >&6; }
6369 if ${ac_cv_prog_arosconfig_use_libpngconfig+:} false
; then :
6370 $as_echo_n "(cached) " >&6
6372 if test -n "$arosconfig_use_libpngconfig"; then
6373 ac_cv_prog_arosconfig_use_libpngconfig
="$arosconfig_use_libpngconfig" # Let the user override the test.
6375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6379 test -z "$as_dir" && as_dir
=.
6380 for ac_exec_ext
in '' $ac_executable_extensions; do
6381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6382 ac_cv_prog_arosconfig_use_libpngconfig
="yes"
6383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390 test -z "$ac_cv_prog_arosconfig_use_libpngconfig" && ac_cv_prog_arosconfig_use_libpngconfig
="no"
6393 arosconfig_use_libpngconfig
=$ac_cv_prog_arosconfig_use_libpngconfig
6394 if test -n "$arosconfig_use_libpngconfig"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $arosconfig_use_libpngconfig" >&5
6396 $as_echo "$arosconfig_use_libpngconfig" >&6; }
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6404 if test "$arosconfig_use_libpngconfig" = "yes"; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libpng-config library" >&5
6406 $as_echo_n "checking libpng-config library... " >&6; }
6407 libpng_incdir
="`libpng-config --cflags`"
6408 libpng_libextra
="$libpng_libextra `libpng-config --ldflags`"
6409 libpng
="`libpng-config --libs`"
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpng" >&5
6411 $as_echo "$libpng" >&6; }
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_png in -lpng" >&5
6415 $as_echo_n "checking for png_read_png in -lpng... " >&6; }
6416 if ${ac_cv_lib_png_png_read_png+:} false
; then :
6417 $as_echo_n "(cached) " >&6
6419 ac_check_lib_save_LIBS
=$LIBS
6421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6424 /* Override any GCC internal prototype to avoid an error.
6425 Use char because int might match the return type of a GCC
6426 builtin and then its argument prototype would still apply. */
6430 char png_read_png ();
6434 return png_read_png ();
6439 if ac_fn_c_try_link
"$LINENO"; then :
6440 ac_cv_lib_png_png_read_png
=yes
6442 ac_cv_lib_png_png_read_png
=no
6444 rm -f core conftest.err conftest.
$ac_objext \
6445 conftest
$ac_exeext conftest.
$ac_ext
6446 LIBS
=$ac_check_lib_save_LIBS
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_png" >&5
6449 $as_echo "$ac_cv_lib_png_png_read_png" >&6; }
6450 if test "x$ac_cv_lib_png_png_read_png" = xyes
; then :
6456 if test "$libpng_libextra" != ""; then
6457 if test "$libpng" != "no"; then
6458 libpng_libextra
="$libpng_libextra $libpng"
6463 if test "$libpng" = ""; then
6466 if test "$libpng" = "no"; then
6469 if test "$req_avail" = "no"; then
6470 as_fn_error $?
"libpng is required to build AROS. Please install and run configure again." "$LINENO" 5
6486 # Check for some includes for the X11 HIDD and the kernel
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6489 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6490 if ${ac_cv_path_GREP+:} false
; then :
6491 $as_echo_n "(cached) " >&6
6493 if test -z "$GREP"; then
6494 ac_path_GREP_found
=false
6495 # Loop through the user's path and test for each of PROGNAME-LIST
6496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6497 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6500 test -z "$as_dir" && as_dir
=.
6501 for ac_prog
in grep ggrep
; do
6502 for ac_exec_ext
in '' $ac_executable_extensions; do
6503 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6504 as_fn_executable_p
"$ac_path_GREP" ||
continue
6505 # Check for GNU ac_path_GREP and select it if it is found.
6506 # Check for GNU $ac_path_GREP
6507 case `"$ac_path_GREP" --version 2>&1` in
6509 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6512 $as_echo_n 0123456789 >"conftest.in"
6515 cat "conftest.in" "conftest.in" >"conftest.tmp"
6516 mv "conftest.tmp" "conftest.in"
6517 cp "conftest.in" "conftest.nl"
6518 $as_echo 'GREP' >> "conftest.nl"
6519 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6520 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6521 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6522 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6523 # Best one so far, save it but keep looking for a better one
6524 ac_cv_path_GREP
="$ac_path_GREP"
6525 ac_path_GREP_max
=$ac_count
6527 # 10*(2^10) chars as input seems more than enough
6528 test $ac_count -gt 10 && break
6530 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6533 $ac_path_GREP_found && break 3
6538 if test -z "$ac_cv_path_GREP"; then
6539 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6542 ac_cv_path_GREP
=$GREP
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6547 $as_echo "$ac_cv_path_GREP" >&6; }
6548 GREP
="$ac_cv_path_GREP"
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6552 $as_echo_n "checking for egrep... " >&6; }
6553 if ${ac_cv_path_EGREP+:} false
; then :
6554 $as_echo_n "(cached) " >&6
6556 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6557 then ac_cv_path_EGREP
="$GREP -E"
6559 if test -z "$EGREP"; then
6560 ac_path_EGREP_found
=false
6561 # Loop through the user's path and test for each of PROGNAME-LIST
6562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6563 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6566 test -z "$as_dir" && as_dir
=.
6567 for ac_prog
in egrep; do
6568 for ac_exec_ext
in '' $ac_executable_extensions; do
6569 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6570 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6571 # Check for GNU ac_path_EGREP and select it if it is found.
6572 # Check for GNU $ac_path_EGREP
6573 case `"$ac_path_EGREP" --version 2>&1` in
6575 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6578 $as_echo_n 0123456789 >"conftest.in"
6581 cat "conftest.in" "conftest.in" >"conftest.tmp"
6582 mv "conftest.tmp" "conftest.in"
6583 cp "conftest.in" "conftest.nl"
6584 $as_echo 'EGREP' >> "conftest.nl"
6585 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6586 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6587 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6588 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6589 # Best one so far, save it but keep looking for a better one
6590 ac_cv_path_EGREP
="$ac_path_EGREP"
6591 ac_path_EGREP_max
=$ac_count
6593 # 10*(2^10) chars as input seems more than enough
6594 test $ac_count -gt 10 && break
6596 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6599 $ac_path_EGREP_found && break 3
6604 if test -z "$ac_cv_path_EGREP"; then
6605 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6608 ac_cv_path_EGREP
=$EGREP
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6614 $as_echo "$ac_cv_path_EGREP" >&6; }
6615 EGREP
="$ac_cv_path_EGREP"
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6619 $as_echo_n "checking for ANSI C header files... " >&6; }
6620 if ${ac_cv_header_stdc+:} false
; then :
6621 $as_echo_n "(cached) " >&6
6623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6638 if ac_fn_c_try_compile
"$LINENO"; then :
6639 ac_cv_header_stdc
=yes
6641 ac_cv_header_stdc
=no
6643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6645 if test $ac_cv_header_stdc = yes; then
6646 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6648 /* end confdefs.h. */
6652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6653 $EGREP "memchr" >/dev
/null
2>&1; then :
6656 ac_cv_header_stdc
=no
6662 if test $ac_cv_header_stdc = yes; then
6663 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6670 $EGREP "free" >/dev
/null
2>&1; then :
6673 ac_cv_header_stdc
=no
6679 if test $ac_cv_header_stdc = yes; then
6680 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6681 if test "$cross_compiling" = yes; then :
6684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6685 /* end confdefs.h. */
6688 #if ((' ' & 0x0FF) == 0x020)
6689 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6690 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6692 # define ISLOWER(c) \
6693 (('a' <= (c) && (c) <= 'i') \
6694 || ('j' <= (c) && (c) <= 'r') \
6695 || ('s' <= (c) && (c) <= 'z'))
6696 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6699 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6704 for (i = 0; i < 256; i++)
6705 if (XOR (islower (i), ISLOWER (i))
6706 || toupper (i) != TOUPPER (i))
6711 if ac_fn_c_try_run
"$LINENO"; then :
6714 ac_cv_header_stdc
=no
6716 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6717 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6723 $as_echo "$ac_cv_header_stdc" >&6; }
6724 if test $ac_cv_header_stdc = yes; then
6726 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6730 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6731 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6732 inttypes.h stdint.h unistd.h
6734 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6735 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6737 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6738 cat >>confdefs.h
<<_ACEOF
6739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6747 for ac_header
in sys
/ipc.h sys
/shm.h \
6748 sys
/mmap.h sys
/mman.h sysexits.h \
6749 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
6752 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6753 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6754 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6755 cat >>confdefs.h
<<_ACEOF
6756 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6764 for ac_header
in sys
/mount.h
6766 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
6768 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
6769 cat >>confdefs.h
<<_ACEOF
6770 #define HAVE_SYS_MOUNT_H 1
6777 for ac_header
in GL
/glx.h
6779 ac_fn_c_check_header_mongrel
"$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default"
6780 if test "x$ac_cv_header_GL_glx_h" = xyes
; then :
6781 cat >>confdefs.h
<<_ACEOF
6782 #define HAVE_GL_GLX_H 1
6784 host_feature_glx
=yes
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __unused conflicts with sys/stat.h" >&5
6793 $as_echo_n "checking if __unused conflicts with sys/stat.h... " >&6; }
6794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6797 #define __unused __attribute__((unused))
6798 #include <sys/stat.h>
6808 if ac_fn_c_try_compile
"$LINENO"; then :
6809 host_stat_h__unused_used
=no
6811 host_stat_h__unused_used
=yes
6813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $host_stat_h__unused_used" >&5
6815 $as_echo "$host_stat_h__unused_used" >&6; }
6818 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
6819 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
6821 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
6822 if eval \
${$as_ac_Header+:} false
; then :
6823 $as_echo_n "(cached) " >&6
6825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6826 /* end confdefs.h. */
6827 #include <sys/types.h>
6839 if ac_fn_c_try_compile
"$LINENO"; then :
6840 eval "$as_ac_Header=yes"
6842 eval "$as_ac_Header=no"
6844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6846 eval ac_res
=\$
$as_ac_Header
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6848 $as_echo "$ac_res" >&6; }
6849 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6850 cat >>confdefs.h
<<_ACEOF
6851 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6854 ac_header_dirent
=$ac_hdr; break
6858 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6859 if test $ac_header_dirent = dirent.h
; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6861 $as_echo_n "checking for library containing opendir... " >&6; }
6862 if ${ac_cv_search_opendir+:} false
; then :
6863 $as_echo_n "(cached) " >&6
6865 ac_func_search_save_LIBS
=$LIBS
6866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6867 /* end confdefs.h. */
6869 /* Override any GCC internal prototype to avoid an error.
6870 Use char because int might match the return type of a GCC
6871 builtin and then its argument prototype would still apply. */
6884 for ac_lib
in '' dir
; do
6885 if test -z "$ac_lib"; then
6886 ac_res
="none required"
6889 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6891 if ac_fn_c_try_link
"$LINENO"; then :
6892 ac_cv_search_opendir
=$ac_res
6894 rm -f core conftest.err conftest.
$ac_objext \
6896 if ${ac_cv_search_opendir+:} false
; then :
6900 if ${ac_cv_search_opendir+:} false
; then :
6903 ac_cv_search_opendir
=no
6906 LIBS
=$ac_func_search_save_LIBS
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6909 $as_echo "$ac_cv_search_opendir" >&6; }
6910 ac_res
=$ac_cv_search_opendir
6911 if test "$ac_res" != no
; then :
6912 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
6918 $as_echo_n "checking for library containing opendir... " >&6; }
6919 if ${ac_cv_search_opendir+:} false
; then :
6920 $as_echo_n "(cached) " >&6
6922 ac_func_search_save_LIBS
=$LIBS
6923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6924 /* end confdefs.h. */
6926 /* Override any GCC internal prototype to avoid an error.
6927 Use char because int might match the return type of a GCC
6928 builtin and then its argument prototype would still apply. */
6941 for ac_lib
in '' x
; do
6942 if test -z "$ac_lib"; then
6943 ac_res
="none required"
6946 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6948 if ac_fn_c_try_link
"$LINENO"; then :
6949 ac_cv_search_opendir
=$ac_res
6951 rm -f core conftest.err conftest.
$ac_objext \
6953 if ${ac_cv_search_opendir+:} false
; then :
6957 if ${ac_cv_search_opendir+:} false
; then :
6960 ac_cv_search_opendir
=no
6963 LIBS
=$ac_func_search_save_LIBS
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
6966 $as_echo "$ac_cv_search_opendir" >&6; }
6967 ac_res
=$ac_cv_search_opendir
6968 if test "$ac_res" != no
; then :
6969 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6976 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6977 if ${ac_cv_header_stat_broken+:} false
; then :
6978 $as_echo_n "(cached) " >&6
6980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6981 /* end confdefs.h. */
6982 #include <sys/types.h>
6983 #include <sys/stat.h>
6985 #if defined S_ISBLK && defined S_IFDIR
6986 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6989 #if defined S_ISBLK && defined S_IFCHR
6990 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6993 #if defined S_ISLNK && defined S_IFREG
6994 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6997 #if defined S_ISSOCK && defined S_IFREG
6998 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7002 if ac_fn_c_try_compile
"$LINENO"; then :
7003 ac_cv_header_stat_broken
=no
7005 ac_cv_header_stat_broken
=yes
7007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7010 $as_echo "$ac_cv_header_stat_broken" >&6; }
7011 if test $ac_cv_header_stat_broken = yes; then
7013 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7018 $as_echo_n "checking for ANSI C header files... " >&6; }
7019 if ${ac_cv_header_stdc+:} false
; then :
7020 $as_echo_n "(cached) " >&6
7022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7037 if ac_fn_c_try_compile
"$LINENO"; then :
7038 ac_cv_header_stdc
=yes
7040 ac_cv_header_stdc
=no
7042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7044 if test $ac_cv_header_stdc = yes; then
7045 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7052 $EGREP "memchr" >/dev
/null
2>&1; then :
7055 ac_cv_header_stdc
=no
7061 if test $ac_cv_header_stdc = yes; then
7062 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7064 /* end confdefs.h. */
7068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7069 $EGREP "free" >/dev
/null
2>&1; then :
7072 ac_cv_header_stdc
=no
7078 if test $ac_cv_header_stdc = yes; then
7079 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7080 if test "$cross_compiling" = yes; then :
7083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7084 /* end confdefs.h. */
7087 #if ((' ' & 0x0FF) == 0x020)
7088 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7089 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7091 # define ISLOWER(c) \
7092 (('a' <= (c) && (c) <= 'i') \
7093 || ('j' <= (c) && (c) <= 'r') \
7094 || ('s' <= (c) && (c) <= 'z'))
7095 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7098 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7103 for (i = 0; i < 256; i++)
7104 if (XOR (islower (i), ISLOWER (i))
7105 || toupper (i) != TOUPPER (i))
7110 if ac_fn_c_try_run
"$LINENO"; then :
7113 ac_cv_header_stdc
=no
7115 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7116 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7122 $as_echo "$ac_cv_header_stdc" >&6; }
7123 if test $ac_cv_header_stdc = yes; then
7125 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
7130 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
7131 if ${ac_cv_header_sys_wait_h+:} false
; then :
7132 $as_echo_n "(cached) " >&6
7134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h. */
7136 #include <sys/types.h>
7137 #include <sys/wait.h>
7139 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7142 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7150 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7155 if ac_fn_c_try_compile
"$LINENO"; then :
7156 ac_cv_header_sys_wait_h
=yes
7158 ac_cv_header_sys_wait_h
=no
7160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
7163 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
7164 if test $ac_cv_header_sys_wait_h = yes; then
7166 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
7171 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
7172 if ${ac_cv_header_time+:} false
; then :
7173 $as_echo_n "(cached) " >&6
7175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7177 #include <sys/types.h>
7178 #include <sys/time.h>
7184 if ((struct tm *) 0)
7190 if ac_fn_c_try_compile
"$LINENO"; then :
7191 ac_cv_header_time
=yes
7193 ac_cv_header_time
=no
7195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
7198 $as_echo "$ac_cv_header_time" >&6; }
7199 if test $ac_cv_header_time = yes; then
7201 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
7205 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
7206 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
7208 cat >>confdefs.h
<<_ACEOF
7209 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
7213 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
7218 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
7219 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
7221 cat >>confdefs.h
<<_ACEOF
7222 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7226 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
7229 case " $LIBOBJS " in
7230 *" fileblocks.$ac_objext "* ) ;;
7231 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
7238 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
7239 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
7241 cat >>confdefs.h
<<_ACEOF
7242 #define HAVE_STRUCT_STAT_ST_RDEV 1
7246 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
7252 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
7253 if ${ac_cv_struct_tm+:} false
; then :
7254 $as_echo_n "(cached) " >&6
7256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7257 /* end confdefs.h. */
7258 #include <sys/types.h>
7265 int *p = &tm.tm_sec;
7271 if ac_fn_c_try_compile
"$LINENO"; then :
7272 ac_cv_struct_tm
=time.h
7274 ac_cv_struct_tm
=sys
/time.h
7276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
7279 $as_echo "$ac_cv_struct_tm" >&6; }
7280 if test $ac_cv_struct_tm = sys
/time.h
; then
7282 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
7286 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
7287 #include <$ac_cv_struct_tm>
7290 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
7292 cat >>confdefs.h
<<_ACEOF
7293 #define HAVE_STRUCT_TM_TM_ZONE 1
7299 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7301 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
7304 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
7306 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
7312 cat >>confdefs.h
<<_ACEOF
7313 #define HAVE_DECL_TZNAME $ac_have_decl
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
7317 $as_echo_n "checking for tzname... " >&6; }
7318 if ${ac_cv_var_tzname+:} false
; then :
7319 $as_echo_n "(cached) " >&6
7321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7322 /* end confdefs.h. */
7324 #if !HAVE_DECL_TZNAME
7325 extern char *tzname[];
7331 return tzname[0][0];
7336 if ac_fn_c_try_link
"$LINENO"; then :
7337 ac_cv_var_tzname
=yes
7341 rm -f core conftest.err conftest.
$ac_objext \
7342 conftest
$ac_exeext conftest.
$ac_ext
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
7345 $as_echo "$ac_cv_var_tzname" >&6; }
7346 if test $ac_cv_var_tzname = yes; then
7348 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
7353 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
7354 if test "x$ac_cv_type_off_t" = xyes
; then :
7358 cat >>confdefs.h
<<_ACEOF
7359 #define off_t long int
7364 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
7365 if test "x$ac_cv_type_pid_t" = xyes
; then :
7369 cat >>confdefs.h
<<_ACEOF
7375 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7376 if test "x$ac_cv_type_size_t" = xyes
; then :
7380 cat >>confdefs.h
<<_ACEOF
7381 #define size_t unsigned int
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7387 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7388 if ${ac_cv_type_uid_t+:} false
; then :
7389 $as_echo_n "(cached) " >&6
7391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7392 /* end confdefs.h. */
7393 #include <sys/types.h>
7396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7397 $EGREP "uid_t" >/dev
/null
2>&1; then :
7398 ac_cv_type_uid_t
=yes
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7406 $as_echo "$ac_cv_type_uid_t" >&6; }
7407 if test $ac_cv_type_uid_t = no
; then
7409 $as_echo "#define uid_t int" >>confdefs.h
7412 $as_echo "#define gid_t int" >>confdefs.h
7417 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
7418 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
7420 cat >>confdefs.h
<<_ACEOF
7421 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7428 # Look for some functions
7429 for ac_func
in getpagesize kqueue statfs statvfs \
7430 clone kse_create rfork_thread thr_create sa_register \
7431 getcontext makecontext setcontext sigaltstack swapcontext
7433 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7434 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
7435 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7436 cat >>confdefs.h
<<_ACEOF
7437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7447 for ac_header
in $ac_header_list
7449 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7450 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7452 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7453 cat >>confdefs.h
<<_ACEOF
7454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7468 for ac_func
in getpagesize
7470 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
7471 if test "x$ac_cv_func_getpagesize" = xyes
; then :
7472 cat >>confdefs.h
<<_ACEOF
7473 #define HAVE_GETPAGESIZE 1
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
7480 $as_echo_n "checking for working mmap... " >&6; }
7481 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
7482 $as_echo_n "(cached) " >&6
7484 if test "$cross_compiling" = yes; then :
7485 ac_cv_func_mmap_fixed_mapped
=no
7487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7488 /* end confdefs.h. */
7489 $ac_includes_default
7490 /* malloc might have been renamed as rpl_malloc. */
7493 /* Thanks to Mike Haertel and Jim Avera for this test.
7494 Here is a matrix of mmap possibilities:
7495 mmap private not fixed
7496 mmap private fixed at somewhere currently unmapped
7497 mmap private fixed at somewhere already mapped
7498 mmap shared not fixed
7499 mmap shared fixed at somewhere currently unmapped
7500 mmap shared fixed at somewhere already mapped
7501 For private mappings, we should verify that changes cannot be read()
7502 back from the file, nor mmap's back from the file at a different
7503 address. (There have been systems where private was not correctly
7504 implemented like the infamous i386 svr4.0, and systems where the
7505 VM page cache was not coherent with the file system buffer cache
7506 like early versions of FreeBSD and possibly contemporary NetBSD.)
7507 For shared mappings, we should conversely verify that changes get
7508 propagated back to all the places they're supposed to be.
7510 Grep wants private fixed already mapped.
7511 The main things grep needs to know about mmap are:
7512 * does it exist and is it safe to write into the mmap'd area
7513 * how to use it (BSD variants) */
7516 #include <sys/mman.h>
7518 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7522 /* This mess was copied from the GNU getpagesize.h. */
7523 #ifndef HAVE_GETPAGESIZE
7524 # ifdef _SC_PAGESIZE
7525 # define getpagesize() sysconf(_SC_PAGESIZE)
7526 # else /* no _SC_PAGESIZE */
7527 # ifdef HAVE_SYS_PARAM_H
7528 # include <sys/param.h>
7529 # ifdef EXEC_PAGESIZE
7530 # define getpagesize() EXEC_PAGESIZE
7531 # else /* no EXEC_PAGESIZE */
7533 # define getpagesize() NBPG * CLSIZE
7536 # endif /* no CLSIZE */
7537 # else /* no NBPG */
7539 # define getpagesize() NBPC
7540 # else /* no NBPC */
7542 # define getpagesize() PAGESIZE
7543 # endif /* PAGESIZE */
7544 # endif /* no NBPC */
7545 # endif /* no NBPG */
7546 # endif /* no EXEC_PAGESIZE */
7547 # else /* no HAVE_SYS_PARAM_H */
7548 # define getpagesize() 8192 /* punt totally */
7549 # endif /* no HAVE_SYS_PARAM_H */
7550 # endif /* no _SC_PAGESIZE */
7552 #endif /* no HAVE_GETPAGESIZE */
7557 char *data, *data2, *data3;
7562 pagesize = getpagesize ();
7564 /* First, make a file with some known garbage in it. */
7565 data = (char *) malloc (pagesize);
7568 for (i = 0; i < pagesize; ++i)
7569 *(data + i) = rand ();
7571 fd = creat ("conftest.mmap", 0600);
7574 if (write (fd, data, pagesize) != pagesize)
7578 /* Next, check that the tail of a page is zero-filled. File must have
7579 non-zero length, otherwise we risk SIGBUS for entire page. */
7580 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
7584 if (write (fd2, cdata2, 1) != 1)
7586 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
7587 if (data2 == MAP_FAILED)
7589 for (i = 0; i < pagesize; ++i)
7593 if (munmap (data2, pagesize))
7596 /* Next, try to mmap the file at a fixed address which already has
7597 something else allocated at it. If we can, also make sure that
7598 we see the same garbage. */
7599 fd = open ("conftest.mmap", O_RDWR);
7602 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7603 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7605 for (i = 0; i < pagesize; ++i)
7606 if (*(data + i) != *(data2 + i))
7609 /* Finally, make sure that changes to the mapped area do not
7610 percolate back to the file as seen by read(). (This is a bug on
7611 some variants of i386 svr4.0.) */
7612 for (i = 0; i < pagesize; ++i)
7613 *(data2 + i) = *(data2 + i) + 1;
7614 data3 = (char *) malloc (pagesize);
7617 if (read (fd, data3, pagesize) != pagesize)
7619 for (i = 0; i < pagesize; ++i)
7620 if (*(data + i) != *(data3 + i))
7628 if ac_fn_c_try_run
"$LINENO"; then :
7629 ac_cv_func_mmap_fixed_mapped
=yes
7631 ac_cv_func_mmap_fixed_mapped
=no
7633 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7634 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
7639 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
7640 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7642 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
7645 rm -f conftest.mmap conftest.txt
7648 #-----------------------------------------------------------------------------
7651 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7652 # it switched on by default, and we use the host compiler, so it compiles AROS
7653 # code with this enabled resulting in link failures as we don't have support
7656 # We use two methods to disable it. For the host compiler (used to compile
7657 # some hosted modules), we test to see if the compiler supports stack
7658 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7659 # work on all platforms.
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
7663 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
7664 save_cflags
="$CFLAGS"
7665 CFLAGS
="$CFLAGS -fno-stack-protector"
7666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7667 /* end confdefs.h. */
7677 if ac_fn_c_try_compile
"$LINENO"; then :
7678 use_no_stack_protector
="yes"
7680 use_no_stack_protector
="no"
7682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
7684 $as_echo "$use_no_stack_protector" >&6; }
7685 if test "x-$use_no_stack_protector" = "x-yes" ; then
7686 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
7688 CFLAGS
="$save_cflags"
7690 #-----------------------------------------------------------------------------
7692 # Disable pointer-signedness warnings if the compiler recognises the option
7693 # (this only works for the host compiler at the moment)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7696 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7697 save_cflags
="$CFLAGS"
7698 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7710 if ac_fn_c_try_compile
"$LINENO"; then :
7711 use_no_sign_warning
="yes"
7713 use_no_sign_warning
="no"
7715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7717 $as_echo "$use_no_sign_warning" >&6; }
7718 if test "x-$use_no_sign_warning" = "x-yes" ; then
7719 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
7721 CFLAGS
="$save_cflags"
7723 #-----------------------------------------------------------------------------
7725 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
7728 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
7729 save_cflags
="$CFLAGS"
7730 CFLAGS
="$CFLAGS -fgnu89-inline"
7731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7742 if ac_fn_c_try_compile
"$LINENO"; then :
7743 use_gnu89_inline
="yes"
7745 use_gnu89_inline
="no"
7747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
7749 $as_echo "$use_gnu89_inline" >&6; }
7750 if test "x-$use_gnu89_inline" = "x-yes" ; then
7751 gnu89_inline
="-fgnu89-inline"
7753 CFLAGS
="$save_cflags"
7756 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
7757 # On GCC >= 4.0 -iquote should be used
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
7760 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
7761 CFLAGS
="$CFLAGS -iquote."
7762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7763 /* end confdefs.h. */
7773 if ac_fn_c_try_compile
"$LINENO"; then :
7778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
7780 $as_echo "$has_iquote" >&6; }
7781 if test "x-$has_iquote" = "x-yes" ; then
7782 host_cflags_iquote
=-iquote
7783 host_cflags_iquote_end
=
7785 host_cflags_iquote
=-I
7786 host_cflags_iquote_end
=-I-
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: Performing target configuration..." >&5
7790 $as_echo "$as_me: Performing target configuration..." >&6;}
7795 aros_nowarn_flags
="NOWARN_UNUSED_COMMAND_LINE_ARGUMENT NOWARN_UNKNOWN_WARNING_OPTION NOWARN_POINTER_SIGN NOWARN_PARENTHESES"
7803 aros_config_cppflags
=
7805 aros_config_cxxflags
=
7806 aros_config_aflags
="$""(WARN_ALL) -x assembler-with-cpp -c"
7807 aros_config_ldflags
=""
7809 aros_shared_default
=yes
7811 aros_shared_cflags
="-fPIC"
7812 aros_shared_aflags
=""
7813 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7814 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7816 aros_kernel_ar_flags
="cr"
7817 aros_target_ar_flags
="cr"
7818 aros_target_nm_flags
="-C -ul"
7819 aros_target_strip_flags
="--strip-unneeded -R.comment"
7824 aros_target_genmap
="-Wl,-Map -Xlinker"
7826 # Native flavour stuff
7827 aros_serial_debug
="0"
7829 # Palm native flavour stuff
7830 aros_palm_debug_hack
="0"
7832 # Unix flavour stuff
7833 aros_nesting_supervisor
="0"
7835 # Collect-aros stuff: "-ius" to ignore undefined symbols
7836 ignore_undefined_symbols
=""
7838 # Check for X11 by default
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which toolchain family to use ..." >&5
7842 $as_echo_n "checking Which toolchain family to use ...... " >&6; }
7844 # Check whether --with-toolchain was given.
7845 if test "${with_toolchain+set}" = set; then :
7846 withval
=$with_toolchain; aros_toolchain
="$withval"
7848 aros_toolchain
="$default_toolchain_family"
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_toolchain" >&5
7852 $as_echo "$aros_toolchain" >&6; }
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable link time optimizations (LTO)" >&5
7856 $as_echo_n "checking if we should enable link time optimizations (LTO)... " >&6; }
7857 # Check whether --enable-lto was given.
7858 if test "${enable_lto+set}" = set; then :
7859 enableval
=$enable_lto; aros_config_lto
="$enableval"
7861 aros_config_lto
="no"
7864 if test "$aros_config_lto" != "no"; then
7865 aros_config_lto
="yes"
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_lto" >&5
7868 $as_echo "$aros_config_lto" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable coverage instrumentation" >&5
7871 $as_echo_n "checking if we should enable coverage instrumentation... " >&6; }
7872 # Check whether --enable-coverage was given.
7873 if test "${enable_coverage+set}" = set; then :
7874 enableval
=$enable_coverage; aros_config_coverage
="$enableval"
7876 aros_config_coverage
="no"
7879 if test "$aros_config_coverage" != "no"; then
7880 aros_config_coverage
="yes"
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_config_coverage" >&5
7883 $as_echo "$aros_config_coverage" >&6; }
7887 case "$aros_toolchain" in
7889 toolchain_c_compiler
="clang"
7890 toolchain_cxx_compiler
="clang++"
7891 toolchain_cpp_preprocessor
="clang -E"
7892 toolchain_ld
="ld.lld"
7894 toolchain_as
="llvm-as"
7895 toolchain_ar
="llvm-ar"
7896 toolchain_ranlib
="llvm-ranlib"
7897 toolchain_nm
="llvm-nm"
7898 toolchain_strip
="true"
7899 toolchain_objcopy
="llvm-objcopy"
7900 toolchain_objdump
="llvm-objdump"
7904 toolchain_c_compiler
="gcc"
7905 toolchain_cxx_compiler
="g++"
7906 toolchain_cpp_preprocessor
="gcc -E"
7909 if test "$aros_config_lto" != "yes"; then
7912 toolchain_ranlib
="ranlib"
7915 toolchain_ld
="ld.bfd"
7916 toolchain_ar
="gcc-ar"
7917 toolchain_ranlib
="gcc-ranlib"
7918 toolchain_nm
="gcc-nm"
7920 toolchain_strip
="strip"
7921 toolchain_objcopy
="objcopy"
7922 toolchain_objdump
="objdump"
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown toolchain family!\"" >&5
7927 $as_echo "$as_me: WARNING: \"Unknown toolchain family!\"" >&2;}
7928 toolchain_c_compiler
="cc"
7929 toolchain_cxx_compiler
="c++"
7930 toolchain_cpp_preprocessor
="cpp"
7935 toolchain_ranlib
="ranlib"
7937 toolchain_strip
="strip"
7938 toolchain_objcopy
="objcopy"
7939 toolchain_objdump
="objdump"
7943 #-----------------------------------------------------------------------------
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which type of build to do" >&5
7946 $as_echo_n "checking which type of build to do... " >&6; }
7947 # Check whether --enable-build_type was given.
7948 if test "${enable_build_type+set}" = set; then :
7949 enableval
=$enable_build_type; build_type
=$enableval
7951 build_type
="personal"
7955 if test "$build_type" = "nightly"; then
7956 build_type_string
="NIGHTLY"
7957 elif test "$build_type" = "snapshot"; then
7958 build_type_string
="SNAPSHOT"
7959 elif test "$build_type" = "milestone"; then
7960 build_type_string
="MILESTONE"
7961 elif test "$build_type" = "release"; then
7962 build_type_string
="RELEASE"
7964 build_type_string
="PERSONAL"
7965 build_type
="personal"
7968 aros_config_cppflags
="$aros_config_cppflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
7971 $as_echo "$build_type" >&6; }
7973 #-----------------------------------------------------------------------------
7974 all_debug_types
="messages stack modules mungwall symbols"
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
7977 $as_echo_n "checking which debug types to enable... " >&6; }
7978 # Check whether --enable-debug was given.
7979 if test "${enable_debug+set}" = set; then :
7980 enableval
=$enable_debug; debug
="$enableval"
7986 if test "$debug" = "" -o "$debug" = "no"; then
7988 elif test "$debug" = "yes"; then
7992 if test "$debug" = "all" ; then
7993 debug
="messages stack modules symbols"
7994 for d
in $all_debug_types; do
7995 export aros_
${d}_debug
="1"
7998 for d
in $all_debug_types; do
7999 export aros_
${d}_debug
="0"
8003 if test "$debug" != "none"; then
8004 debug
=`echo $debug | sed s/,/\ /g`
8007 for d2
in $all_debug_types; do
8008 if test "$d2" = "$d"; then
8013 if test "$found" = "0"; then
8014 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
8016 export aros_
${d}_debug
="1"
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
8021 $as_echo "$debug" >&6; }
8023 if test "$aros_messages_debug" = "1"; then
8024 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8026 aros_messages_debug
=""
8028 if test "$aros_symbols_debug" = "1"; then
8029 aros_symbols_debug
="-g"
8031 aros_symbols_debug
=""
8034 # These are the flags to pass when compiling debugged programs
8035 aros_debug_cppflags
="$aros_messages_debug"
8036 aros_debug_cflags
="$aros_symbols_debug"
8037 aros_debug_cxxflags
=
8038 aros_debug_aflags
=""
8039 aros_debug_ldflags
="$aros_symbols_debug"
8041 #-----------------------------------------------------------------------------
8042 # Checking for distcc and ccache.
8044 # Always apply the transforms in this particular order. Basically you should
8045 # always run 'ccache distcc compiler' in that order for the best performance.
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
8048 $as_echo_n "checking whether to enable distcc... " >&6; }
8049 # Check whether --enable-distcc was given.
8050 if test "${enable_distcc+set}" = set; then :
8051 enableval
=$enable_distcc; distcc
="$enableval"
8056 if test "$distcc" != "" -a "$distcc" != "no"; then
8057 # AC_CHECK_PROG will print out the result in this case
8058 # Extract the first word of "distcc", so it can be a program name with args.
8059 set dummy distcc
; ac_word
=$2
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8061 $as_echo_n "checking for $ac_word... " >&6; }
8062 if ${ac_cv_path_DISTCC+:} false
; then :
8063 $as_echo_n "(cached) " >&6
8067 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8074 test -z "$as_dir" && as_dir
=.
8075 for ac_exec_ext
in '' $ac_executable_extensions; do
8076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8085 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8089 DISTCC
=$ac_cv_path_DISTCC
8090 if test -n "$DISTCC"; then
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
8092 $as_echo "$DISTCC" >&6; }
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8095 $as_echo "no" >&6; }
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101 $as_echo "no" >&6; }
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
8105 $as_echo_n "checking whether to enable ccache... " >&6; }
8106 # Check whether --enable-ccache was given.
8107 if test "${enable_ccache+set}" = set; then :
8108 enableval
=$enable_ccache; ccache
="$enableval"
8113 if test "$ccache" != "" -a "$ccache" != "no"; then
8114 # AC_CHECK_PROG will print out the result in this case
8115 # Extract the first word of "ccache", so it can be a program name with args.
8116 set dummy ccache
; ac_word
=$2
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8118 $as_echo_n "checking for $ac_word... " >&6; }
8119 if ${ac_cv_prog_CCACHE+:} false
; then :
8120 $as_echo_n "(cached) " >&6
8122 if test -n "$CCACHE"; then
8123 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8129 test -z "$as_dir" && as_dir
=.
8130 for ac_exec_ext
in '' $ac_executable_extensions; do
8131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8132 ac_cv_prog_CCACHE
="ccache"
8133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8142 CCACHE
=$ac_cv_prog_CCACHE
8143 if test -n "$CCACHE"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
8145 $as_echo "$CCACHE" >&6; }
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8148 $as_echo "no" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8157 #-----------------------------------------------------------------------------
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
8159 $as_echo_n "checking what specific host gcc version to use... " >&6; }
8161 # Check whether --with-kernel-gcc-version was given.
8162 if test "${with_kernel_gcc_version+set}" = set; then :
8163 withval
=$with_kernel_gcc_version; kernel_tool_version
="$withval"
8165 kernel_tool_version
=""
8168 if test "$kernel_tool_version" != "" ; then
8169 msg_result
=$kernel_tool_version
8171 msg_result
="default"
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8174 $as_echo "$msg_result" >&6; }
8176 #-----------------------------------------------------------------------------
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
8178 $as_echo_n "checking what optimization flags to use... " >&6; }
8180 # Check whether --with-optimization was given.
8181 if test "${with_optimization+set}" = set; then :
8182 withval
=$with_optimization; optimization_level
="$withval"
8184 optimization_level
="unknown"
8187 if test "$optimization_level" = "unknown"; then
8188 optimization
="default"
8189 if test "$debug" != "none"; then
8190 optimization_level
="-O0"
8192 optimization_level
="-O2"
8195 optimization
="$optimization_level"
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
8198 $as_echo "$optimization" >&6; }
8200 paranoia_default
=yes
8201 #-----------------------------------------------------------------------------
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which paranoia flags to use" >&5
8203 $as_echo_n "checking which paranoia flags to use... " >&6; }
8205 # Check whether --with-paranoia was given.
8206 if test "${with_paranoia+set}" = set; then :
8207 withval
=$with_paranoia; paranoia_flags
="$withval"
8209 paranoia_flags
="$paranoia_default"
8212 if test "$paranoia_flags" = "no"; then
8213 paranoia_flags
="$""(WARN_ALL) -Werror-implicit-function-declaration"
8216 if test "$paranoia_flags" = "yes"; then
8217 paranoia_flags
="$""(WARN_ALL) $""(WARN_ERROR)"
8219 msg_result
="$paranoia_flags"
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
8222 $as_echo "$msg_result" >&6; }
8223 aros_warn_flags
="$aros_warn_flags $paranoia_flags"
8225 #-----------------------------------------------------------------------------
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
8227 $as_echo_n "checking what target variant to enable... " >&6; }
8228 # Check whether --enable-target_variant was given.
8229 if test "${enable_target_variant+set}" = set; then :
8230 enableval
=$enable_target_variant; target_variant
=$enableval
8235 if test "$target_variant" = ""; then
8236 aros_target_variant
=""
8237 aros_target_suffix
=""
8240 aros_target_variant
="$target_variant"
8241 aros_target_suffix
="-$target_variant"
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
8244 $as_echo "$enableval" >&6; }
8246 #-----------------------------------------------------------------------------
8247 # Target-specific defaults. You can override then on a per-target basis.
8249 # Bootloader name. Currently used by PC target.
8250 target_bootloader
="none"
8254 #-----------------------------------------------------------------------------
8255 # Additional options for some specific targets
8257 case "$aros_target_variant" in
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
8260 $as_echo_n "checking XCode path... " >&6; }
8262 # Check whether --with-xcode was given.
8263 if test "${with_xcode+set}" = set; then :
8264 withval
=$with_xcode; aros_xcode_path
="$withval"
8266 aros_xcode_path
="/Developer"
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
8270 $as_echo "$aros_xcode_path" >&6; }
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
8273 $as_echo_n "checking what iOS SDK version to use... " >&6; }
8275 # Check whether --with-sdk-version was given.
8276 if test "${with_sdk_version+set}" = set; then :
8277 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8279 aros_sdk_version
="4.1"
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8283 $as_echo "$aros_sdk_version" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
8289 $as_echo_n "checking Android SDK path... " >&6; }
8291 # Check whether --with-sdk was given.
8292 if test "${with_sdk+set}" = set; then :
8293 withval
=$with_sdk; aros_android_sdk
="$withval"
8295 aros_android_sdk
=$default_android_sdk
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
8299 $as_echo "$aros_android_sdk" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
8302 $as_echo_n "checking Android NDK path... " >&6; }
8304 # Check whether --with-ndk was given.
8305 if test "${with_ndk+set}" = set; then :
8306 withval
=$with_ndk; aros_android_ndk
="$withval"
8308 aros_android_ndk
="none"
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
8312 $as_echo "$aros_android_ndk" >&6; }
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
8315 $as_echo_n "checking what Android SDK version to use... " >&6; }
8317 # Check whether --with-sdk-version was given.
8318 if test "${with_sdk_version+set}" = set; then :
8319 withval
=$with_sdk_version; aros_sdk_version
="$withval"
8321 aros_sdk_version
="12"
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
8325 $as_echo "$aros_sdk_version" >&6; }
8327 aros_android_level
=android-
$aros_sdk_version
8328 if test ! -d $aros_android_sdk/platforms
/$aros_android_level; then
8329 echo "Platform $aros_android_level is not installed in your SDK"
8330 echo "Use --with-sdk-version=<API level number> to select another platform version"
8331 echo "You can check what plaform versions are installed in your SDK"
8332 echo "by examining contents of $aros_android_sdk/platforms directory"
8333 as_fn_error $?
"Android platform $aros_android_level is not installed" "$LINENO" 5
8336 export PATH
="$aros_android_sdk/tools:$PATH"
8337 # Extract the first word of "$android_tool", so it can be a program name with args.
8338 set dummy
$android_tool; ac_word
=$2
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8340 $as_echo_n "checking for $ac_word... " >&6; }
8341 if ${ac_cv_path_android_tool+:} false
; then :
8342 $as_echo_n "(cached) " >&6
8344 case $android_tool in
8346 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
8349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8353 test -z "$as_dir" && as_dir
=.
8354 for ac_exec_ext
in '' $ac_executable_extensions; do
8355 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8356 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
8357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8367 android_tool
=$ac_cv_path_android_tool
8368 if test -n "$android_tool"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
8370 $as_echo "$android_tool" >&6; }
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8378 if test "$android_tool" = ""; then
8381 if test "$android_tool" = "no"; then
8384 if test "$req_avail" = "no"; then
8385 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
8388 if test "$aros_android_ndk" != "none"; then
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
8390 $as_echo_n "checking what Android NDK version to use... " >&6; }
8392 # Check whether --with-ndk-version was given.
8393 if test "${with_ndk_version+set}" = set; then :
8394 withval
=$with_ndk_version; aros_ndk_version
="$withval"
8396 aros_ndk_version
="9"
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
8400 $as_echo "$aros_ndk_version" >&6; }
8403 # Extract the first word of "ant", so it can be a program name with args.
8404 set dummy ant
; ac_word
=$2
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8406 $as_echo_n "checking for $ac_word... " >&6; }
8407 if ${ac_cv_path_ant+:} false
; then :
8408 $as_echo_n "(cached) " >&6
8412 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
8415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8419 test -z "$as_dir" && as_dir
=.
8420 for ac_exec_ext
in '' $ac_executable_extensions; do
8421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8422 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
8423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8434 if test -n "$ant"; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
8436 $as_echo "$ant" >&6; }
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8439 $as_echo "no" >&6; }
8443 if test "$ant" = ""; then
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
8445 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Build debug or release apk" >&5
8449 $as_echo_n "checking Build debug or release apk... " >&6; }
8451 # Check whether --with-apk-version was given.
8452 if test "${with_apk_version+set}" = set; then :
8453 withval
=$with_apk_version; aros_android_antapk
=$withval
8455 aros_android_antapk
=release
8458 if test $aros_android_antapk != release
-a $aros_android_antapk != debug
; then
8459 as_fn_error $?
"apk-version has to be release or debug" "$LINENO" 5
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_antapk" >&5
8462 $as_echo "$aros_android_antapk" >&6; }
8464 target_extra_cfg
+="$export_newline""# Android$export_newline""AROS_ANDROID_ANTAPK := $aros_android_antapk$export_newline"
8465 host_extra_cfg
+="$export_newline""# Android-specific$export_newline""ANDROID := $android_tool$export_newline""ANT := $ant$export_newline"
8466 aros_target_options
+="$export_newline""# Enable Android Gfx Driver$export_newline""OPT_HOST_ANDROIDGFX := yes$export_newline"
8468 if test "$host_os" = "mingw32"; then
8469 android_tool
="cmd //c $android_tool"
8477 #-----------------------------------------------------------------------------
8478 # External toolchains
8479 kernel_tool_prefix
="none"
8480 aros_tool_prefix
="none"
8481 elf_tool_prefix
="${target_cpu}-elf-"
8483 # Base target cpu ISA configuration switch.
8484 case "$target_cpu" in
8490 m68k_isa_extra
="ISA_MC68000_FLAGS = -march=68000"
8491 m68k_020_isa_extra
="ISA_MC68020_FLAGS = -march=68020"
8492 m68k_030_isa_extra
="ISA_MC68030_FLAGS = -march=68030"
8493 m68k_040_isa_extra
="ISA_MC68040_FLAGS = -march=68040"
8494 m68k_060_isa_extra
="ISA_MC68060_FLAGS = -march=68060"
8495 m68k_ac080_isa_extra
="ISA_AC68080_FLAGS = -march=68040"
8496 m68k_020_ext
="ISA_MC68020_EXT :=020"
8497 m68k_030_ext
="ISA_MC68030_EXT :=030"
8498 m68k_040_ext
="ISA_MC68040_EXT :=040"
8499 m68k_060_ext
="ISA_MC68060_EXT :=060"
8500 m68k_020_cflags
="ISA_MC68020_CFLAGS ="
8501 m68k_030_cflags
="ISA_MC68030_CFLAGS ="
8502 m68k_040_cflags
="ISA_MC68040_CFLAGS ="
8503 m68k_060_cflags
="ISA_MC68060_CFLAGS ="
8504 m68k_020_cppflags
="ISA_MC68020_CPPFLAGS ="
8505 m68k_030_cppflags
="ISA_MC68030_CPPFLAGS ="
8506 m68k_040_cppflags
="ISA_MC68040_CPPFLAGS ="
8507 m68k_060_cppflags
="ISA_MC68060_CPPFLAGS ="
8508 m68k_020_ldflags
="ISA_MC68020_LDFLAGS ="
8509 m68k_030_ldflags
="ISA_MC68030_LDFLAGS ="
8510 m68k_040_ldflags
="ISA_MC68040_LDFLAGS ="
8511 m68k_060_ldflags
="ISA_MC68060_LDFLAGS ="
8514 x86_isa_extra
="ISA_X86_FLAGS = -m32 -march=i486"
8515 x86_64_isa_extra
="ISA_X8664_FLAGS = -mcmodel=large"
8521 # This is the target configuration switch.
8522 case "$target_os" in
8524 aros_target_arch
="linux"
8525 aros_target_family
="unix"
8526 case "$target_cpu" in
8528 aros_target_cpu
="m68k"
8529 aros_object_format
="m68kelf"
8530 aros_flavour
="emulcompat"
8531 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8532 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8533 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8534 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8535 gcc_target_cpu
="mc68000"
8538 aros_target_cpu
="i386"
8539 aros_object_format
="elf_i386"
8540 aros_flavour
="emulation"
8541 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8542 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8543 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8544 aros_kernel_ldflags
="-Wl,-melf_i386"
8545 aros_nominal_depth
=8
8546 gcc_target_cpu
="i386"
8547 pci_hidd_target
="hidd-pci-linux"
8548 android_tool_dir_prefix
="x86"
8549 android_tool_prefix
="i686-android-linux"
8550 android_ndk_arch
="x86"
8553 aros_target_cpu
="x86_64"
8554 aros_object_format
="elf_x86_64"
8555 aros_flavour
="emulation"
8556 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8557 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8558 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8559 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8560 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8561 aros_nominal_depth
=8
8562 pci_hidd_target
="hidd-pci-linux"
8565 aros_target_cpu
="ppc"
8566 aros_object_format
="elf32ppc"
8567 aros_flavour
="emulation"
8568 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8569 aros_nominal_depth
=8
8570 gcc_target_cpu
="ppc"
8573 # Same as powerpc, but I need this for the nightly build to work again.
8574 # Actually, the nightly should be made working with powerpc target.
8575 # That just was too much work for the moment, another week or two.
8577 aros_target_cpu
="ppc"
8578 aros_object_format
="elf32ppc"
8579 aros_flavour
="emulation"
8580 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8581 aros_nominal_depth
=8
8582 gcc_target_cpu
="ppc"
8585 aros_target_cpu
="aarch64"
8586 target_cpu
="aarch64"
8587 aros_object_format
="aarch64elf_aros"
8588 aros_flavour
="emulation"
8589 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8590 gcc_target_cpu
="aarch64"
8591 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8592 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8593 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8594 aros_c_libs
="$aros_c_libs -laeabi"
8595 gcc_default_float_abi
="hard"
8596 kernel_tool_prefix
="aarch64-linux-gnueabihf-"
8599 aros_target_cpu
="arm"
8601 aros_object_format
="armelf_aros"
8602 aros_flavour
="emulation"
8603 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8604 gcc_target_cpu
="arm"
8605 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8606 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8607 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8608 aros_c_libs
="$aros_c_libs -laeabi"
8609 gcc_default_float_abi
="hard"
8610 android_tool_dir_prefix
="arm-linux-androideabi"
8611 android_tool_prefix
="arm-linux-androideabi"
8612 android_ndk_arch
="arm"
8613 kernel_tool_prefix
="arm-linux-gnueabihf-"
8616 aros_target_cpu
="arm"
8617 aros_object_format
="armelf_aros"
8618 aros_flavour
="emulation"
8619 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8620 gcc_target_cpu
="arm"
8621 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8622 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_OMIT_FP)"
8623 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING)"
8624 aros_c_libs
="$aros_c_libs -laeabi"
8625 android_tool_dir_prefix
="arm-linux-androideabi"
8626 android_tool_prefix
="arm-linux-androideabi"
8627 android_ndk_arch
="arm"
8628 kernel_tool_prefix
="arm-linux-gnueabi-"
8631 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
8634 case "$aros_target_variant" in
8637 if test "$android_ndk_arch" = ""; then
8638 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
8641 aros_nominal_width
=320
8642 aros_nominal_height
=480
8643 if test "$aros_android_ndk" = "none"; then
8644 aros_kernel_cflags
="-mandroid"
8645 aros_kernel_ldflags
="-mandroid"
8648 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$kernel_tool_version/prebuilt/$android_build_os/bin:$PATH"
8649 kernel_tool_version
=""
8650 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
8651 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
8652 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
8653 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
8654 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
8657 # Disable implicit PIC mode
8658 aros_config_cflags
="$aros_config_cflags -fno-pic"
8659 kernel_tool_prefix
="$android_tool_prefix-"
8665 aros_target_arch
="pc"
8666 aros_shared_default
="no"
8667 target_bootloader
="grub2"
8668 case "$target_cpu" in
8670 aros_target_cpu
="i386"
8673 if test "$aros_object_format" = "" ; then
8674 aros_object_format
="elf_i386"
8676 aros_flavour
="standalone"
8677 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8678 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8679 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8680 aros_kernel_ldflags
="-Wl,-melf_i386"
8681 aros_nominal_width
=640
8682 aros_nominal_height
=480
8683 gcc_target_cpu
="i386"
8686 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
8687 aros_target_cpu
="x86_64"
8689 if test "$aros_object_format" = "" ; then
8690 aros_object_format
="elf_x86_64"
8692 aros_flavour
="standalone"
8693 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8694 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8695 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_RED_ZONE)"
8696 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8697 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_OMIT_FP)"
8698 aros_kernel_ldflags
=""
8699 aros_nominal_width
=640
8700 aros_nominal_height
=480
8701 case "$aros_target_variant" in
8703 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
8708 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
8714 aros_target_arch
="prep"
8715 aros_shared_default
="no"
8716 aros_target_cpu
="ppc"
8717 aros_object_format
="elf32ppc"
8718 aros_flavour
="ppcnative"
8719 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8720 aros_kernel_ldflags
=""
8721 aros_nominal_width
=640
8722 aros_nominal_height
=480
8723 gcc_target_cpu
="ppc"
8727 aros_target_arch
="freebsd"
8728 aros_target_family
="unix"
8729 aros_target_cpu
="i386"
8730 aros_flavour
="emulation"
8731 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8732 gcc_target_cpu
="i386"
8734 aros_target_strip_flags
="-x"
8738 aros_target_arch
="darwin"
8739 aros_target_family
="unix"
8740 aros_flavour
="emulation"
8741 case "$target_cpu" in
8743 aros_ios_platform
="iPhoneSimulator"
8744 aros_target_cpu
="i386"
8745 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8746 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8747 aros_kernel_ldflags
=""
8748 aros_macosx_version
="10.4"
8749 aros_nominal_depth
=8
8750 gcc_target_cpu
="i386"
8751 aros_object_format
="elf_i386"
8752 aros_kernel_ar_flags
="-cr"
8753 aros_target_strip_flags
="-x"
8754 kernel_tool_flags
="-m32"
8757 aros_target_cpu
="x86_64"
8758 aros_object_format
="elf_x86_64"
8759 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8760 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8761 aros_macosx_version
="10.6"
8762 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8763 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8764 aros_kernel_cflags
="-m64"
8765 aros_kernel_ldflags
="-m64"
8766 aros_nominal_depth
=8
8767 aros_kernel_rs
="$toolchain_ar"
8768 aros_kernel_ar_flags
="-cr"
8769 aros_kernel_ld
="$toolchain_ld"
8770 aros_kernel_as
="$toolchain_as"
8771 aros_kernel_ranlib
="$toolchain_ranlib"
8772 aros_kernel_nm
="$toolchain_nm"
8773 aros_kernel_strip
="strip"
8774 kernel_tool_prefix
="i686-apple-darwin10-"
8777 aros_target_cpu
="ppc"
8778 aros_object_format
="elf32ppc"
8779 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8780 aros_kernel_ldflags
=""
8781 aros_macosx_version
="10.0"
8782 aros_nominal_depth
=8
8783 gcc_target_cpu
="ppc"
8784 aros_kernel_rs
="$toolchain_ar"
8785 aros_kernel_ar_flags
="-cr"
8786 aros_kernel_ld
="$toolchain_ld -arch ppc"
8787 aros_kernel_as
="$toolchain_as -arch ppc"
8788 aros_kernel_ranlib
="$toolchain_ranlib -arch ppc"
8789 aros_kernel_nm
="$toolchain_nm -arch ppc"
8790 aros_kernel_strip
="strip -arch ppc"
8791 kernel_tool_prefix
="powerpc-apple-darwin10-"
8794 aros_ios_platform
="iPhoneOS"
8795 aros_target_cpu
="arm"
8796 aros_object_format
="armelf_aros"
8797 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8798 aros_c_libs
="$aros_c_libs -laeabi"
8799 aros_nominal_depth
=8
8800 gcc_target_cpu
="arm"
8801 aros_kernel_rs
="$toolchain_ar"
8802 aros_kernel_ar_flags
="-cr"
8803 aros_kernel_ld
="$toolchain_ld -arch arm"
8804 aros_kernel_ranlib
="$toolchain_ranlib -arch arm"
8805 kernel_tool_prefix
="arm-apple-darwin10-"
8806 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8809 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
8812 case "$aros_target_variant" in
8814 make_extra_targetcfg
="$export_newline""# Apple iOS stuff for gcc$export_newline""IOS_LDFLAGS := -F$""(IOS_SDK_PATH)/System/Library/Frameworks$export_newline"
8815 aros_ios_version
="3.0"
8816 aros_nominal_width
=320
8817 aros_nominal_height
=480
8818 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_sdk_version.sdk"
8819 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"
8820 kernel_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
8821 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
8823 # This is here because it may depend on iOS or SDK version
8824 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
8825 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
8826 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8829 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
8830 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
8836 aros_target_arch
="dragonfly"
8837 aros_target_family
="unix"
8838 aros_flavour
="emulation"
8839 case "$target_cpu" in
8841 aros_target_cpu
="i386"
8842 aros_object_format
="elf_i386"
8843 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8844 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8847 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
8848 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
8849 aros_target_cpu
="x86_64"
8850 aros_object_format
="elf_x86_64"
8851 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8852 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
8855 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
8861 aros_target_arch
="netbsd"
8862 aros_target_family
="unix"
8863 case "$target_cpu" in
8865 aros_target_cpu
="m68k"
8866 aros_object_format
="m68kelf"
8867 aros_flavour
="emulcompat"
8868 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8869 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
8870 gcc_target_cpu
="mc68000"
8873 aros_target_cpu
="i386"
8874 aros_object_format
="elf_i386"
8875 aros_flavour
="emulation"
8876 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8877 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8878 aros_nominal_depth
=8
8879 gcc_target_cpu
="i386"
8882 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
8885 aros_target_genmap
="-Wl,-M -Xlinker >"
8886 aros_flavour
="emulation"
8887 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8891 aros_target_arch
="openbsd"
8892 aros_target_family
="unix"
8893 case "$target_cpu" in
8895 aros_target_cpu
="i386"
8896 aros_object_format
="elf_i386"
8897 aros_flavour
="emulation"
8898 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8899 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8900 gcc_target_cpu
="i386"
8903 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
8906 aros_target_genmap
="-Wl,-M -Xlinker >"
8907 aros_target_nm_flags
="-u"
8908 aros_flavour
="emulation"
8912 aros_target_arch
="solaris"
8913 aros_target_family
="unix"
8914 case "$target_cpu" in
8916 aros_target_cpu
="i386"
8917 aros_object_format
="elf_i386"
8918 aros_flavour
="emulation"
8919 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8920 aros_isa_flags
="$""(ISA_X86_FLAGS)"
8921 aros_nominal_depth
=8
8922 gcc_target_cpu
="i386"
8925 aros_target_cpu
="sparc"
8926 aros_object_format
="elf_sparc"
8927 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8928 gcc_target_cpu
="sparc"
8931 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
8934 aros_config_cppflags
="$aros_config_cppflags -D$aros_target_cpu"
8935 aros_flavour
="emulation"
8939 aros_target_arch
="morphos"
8940 aros_shared_default
="no"
8941 aros_target_cpu
="ppc"
8942 aros_object_format
="elf_ppc"
8943 aros_flavour
="nativecompat"
8944 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8945 gcc_target_cpu
="ppc"
8949 aros_target_arch
="sam440"
8950 aros_shared_default
="no"
8951 aros_target_cpu
="ppc"
8952 aros_object_format
="elf32ppc"
8953 aros_flavour
="ppcnative"
8954 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8955 aros_kernel_ldflags
=""
8956 aros_nominal_width
=1024
8957 aros_nominal_height
=768
8958 aros_nominal_depth
=24
8959 aros_isa_flags
="$aros_isa_flags -mcpu=440fp -mno-toc"
8960 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8961 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8962 gcc_target_cpu
="powerpc"
8966 aros_target_arch
="efika"
8967 aros_shared_default
="no"
8968 aros_target_cpu
="arm"
8969 aros_object_format
="armelf_aros"
8970 aros_flavour
="standalone"
8971 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8972 aros_kernel_ldflags
=""
8973 aros_nominal_width
=1024
8974 aros_nominal_height
=600
8975 aros_c_libs
="$aros_c_libs -laeabi"
8976 gcc_default_cpu
="armv7-a"
8977 gcc_default_fpu
="vfpv3"
8978 aros_isa_flags
="$aros_isa_flags -mtune=cortex-a8"
8979 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8980 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8981 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
8982 if test "$optimization" = "default"; then
8983 optimization_level
="-Os"
8985 case "$target_cpu" in
8987 gcc_default_float_abi
="hard"
8992 gcc_default_float_abi
="softfp"
8995 as_fn_error $?
"\"Unknown CPU for EfikaMX $target_cpu\"" "$LINENO" 5
9001 aros_target_arch
="chrp"
9002 aros_shared_default
="no"
9003 aros_target_cpu
="ppc"
9004 aros_object_format
="elf32ppc"
9005 aros_flavour
="ppcnative"
9006 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
9007 aros_kernel_ldflags
=""
9008 aros_nominal_width
=640
9009 aros_nominal_height
=480
9010 aros_isa_flags
="$aros_isa_flags -mno-toc"
9011 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9012 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES)"
9013 gcc_target_cpu
="powerpc"
9014 case "$aros_target_variant" in
9016 aros_isa_flags
="$aros_isa_flags -mcpu=603e"
9017 aros_config_cppflags
="$aros_config_cppflags -DBIG_ENDIAN_OHCI=1"
9023 PLATFORM_EXECSMP
="#define __AROSPLATFORM_SMP__"
9024 aros_flavour
="standalone"
9025 aros_target_arch
="raspi"
9027 aros_shared_default
="no"
9029 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__"
9031 case "$target_cpu" in
9033 aros_target_cpu
="aarch64"
9034 gcc_default_cpu
="aarch64"
9035 aros_object_format
="aarch64elf_aros"
9038 aros_target_cpu
="arm"
9039 gcc_default_cpu
="armv6zk"
9040 gcc_default_cpu_tune
="arm1176jzf-s"
9041 aros_object_format
="armelf_aros"
9042 aros_isa_flags
="$aros_isa_flags -marm"
9043 aros_config_cflags
="$aros_config_cflags"
9044 aros_config_cxxflags
="$aros_config_cxxflags"
9045 aros_config_aflags
="$aros_config_aflags -marm"
9046 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9047 aros_target_mkdep
="$aros_target_mkdep -Darm"
9048 aros_c_libs
="$aros_c_libs -laeabi"
9051 aros_flavour
="standcompat"
9052 aros_target_cpu
="armeb"
9053 gcc_default_float_abi
="hard"
9054 gcc_default_cpu
="armv7ve"
9055 gcc_default_cpu_tune
="cortex-a7"
9056 aros_object_format
="armelfb_aros"
9057 aros_isa_flags
="$aros_isa_flags -marm"
9058 aros_config_cflags
="$aros_config_cflags"
9059 aros_config_cxxflags
="$aros_config_cxxflags"
9060 aros_config_aflags
="$aros_config_aflags -marm"
9061 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9062 aros_target_mkdep
="$aros_target_mkdep -Darm"
9063 aros_c_libs
="$aros_c_libs -laeabi"
9066 aros_target_cpu
="arm"
9067 gcc_default_cpu
="armv6zk"
9068 gcc_default_cpu_tune
="arm1176jzf-s"
9069 aros_object_format
="armelf_aros"
9070 aros_isa_flags
="$aros_isa_flags -marm"
9071 aros_config_cflags
="$aros_config_cflags"
9072 aros_config_cxxflags
="$aros_config_cxxflags"
9073 aros_config_aflags
="$aros_config_aflags -marm"
9074 aros_kernel_cflags
="$aros_kernel_cflags -marm"
9075 aros_target_mkdep
="$aros_target_mkdep -Darm"
9076 aros_c_libs
="$aros_c_libs -laeabi"
9079 as_fn_error $?
"\"Unknown CPU for RasPi $target_cpu\"" "$LINENO" 5
9083 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9084 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9085 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9086 aros_kernel_cflags
="$aros_kernel_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9088 case "$aros_target_variant" in
9090 ENABLE_EXECSMP
="#define __AROSEXEC_SMP__"
9096 aros_flavour
="standalone"
9097 aros_target_arch
="stm32f7_discovery"
9098 aros_target_cpu
="arm"
9099 aros_target_cpu_mode
="thumb2"
9100 aros_object_format
="armelf_aros"
9101 aros_shared_default
="no"
9103 gcc_default_cpu
="armv7e-m"
9104 gcc_default_cpu_tune
="cortex-m7"
9105 gcc_default_fpu
="fpv5-sp-d16"
9106 gcc_default_float_abi
="hard"
9108 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dthumb"
9112 aros_elf_translate
="$""(ELF2HUNK)"
9113 make_extra_commands
="$export_newline""ELF2HUNK := $""(TOOLDIR)/elf2hunk$""(HOST_EXE_SUFFIX)$export_newline"
9114 aros_target_arch
="amiga"
9115 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
9116 aros_shared_default
="no"
9118 case "$target_cpu" in
9120 # Check whether --enable-amigaos_compliance was given.
9121 if test "${enable_amigaos_compliance+set}" = set; then :
9122 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
9126 aros_target_cpu
="m68k"
9127 aros_object_format
="m68kelf"
9128 aros_flavour
="standcompat"
9129 gcc_target_cpu
="m68000"
9130 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9131 aros_nowarn_flags
="$aros_nowarn_flags NOWARN_VOLATILE_REGISTER_VAR"
9132 aros_config_cppflags
="$aros_config_cppflags -DNOLIBINLINE"
9133 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9134 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_STRICT_ALIASING) $""(CFLAGS_FREESTANDING) $""(CFLAGS_OMIT_FP) $""(CFLAGS_BUILTIN)"
9135 if test "$optimization" = "default"; then
9136 optimization_level
="-Os"
9138 aros_config_aflags
="$aros_config_aflags"
9139 aros_target_strip_flags
="-R.comment --strip-debug"
9140 aros_nominal_width
=640
9141 aros_nominal_height
=256
9142 aros_nominal_depth
=2
9146 aros_flavour
="native"
9147 gcc_target_cpu
="ppc"
9150 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
9156 aros_target_arch
="mingw32"
9157 aros_shared_default
="no"
9158 aros_flavour
="emulation"
9159 aros_shared_cflags
=""
9160 need_crosstools
="yes"
9163 case "$target_cpu" in
9165 aros_target_cpu
="i386"
9166 aros_object_format
="elf_i386"
9167 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
9168 aros_isa_flags
="$""(ISA_X86_FLAGS)"
9169 aros_nominal_depth
=8
9170 gcc_target_cpu
="i386"
9172 kernel_tool_prefix
="i386-mingw32-"
9175 aros_target_cpu
="x86_64"
9176 aros_object_format
="elf_x86_64"
9177 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
9178 aros_isa_flags
="$""(ISA_X8664_FLAGS)"
9179 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_OMIT_FP)"
9180 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_OMIT_FP)"
9181 aros_nominal_depth
=8
9182 kernel_tool_prefix
="x86_64-w64-mingw32-"
9185 aros_target_cpu
="arm"
9186 aros_object_format
="armelf_aros"
9187 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
9188 aros_c_libs
="$aros_c_libs -laeabi"
9189 aros_nominal_depth
=8
9190 gcc_target_cpu
="arm"
9191 gcc_default_float_abi
="soft"
9192 kernel_tool_prefix
="arm-mingw32ce-"
9193 aros_nominal_width
=160
9194 aros_nominal_height
=160
9197 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
9200 if test $host_os = "cygwin"; then
9201 aros_kernel_cflags
="-mno-cygwin"
9205 aros_target_arch
="pp"
9206 aros_shared_default
="no"
9207 case "$target_cpu" in
9209 aros_target_cpu
="m68k"
9210 aros_object_format
="m68kelf"
9211 aros_flavour
="palmnative"
9212 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9213 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9214 aros_nominal_width
=160
9215 aros_nominal_height
=160
9216 aros_nominal_depth
=1
9217 aros_target_ar_flags
="cru"
9218 aros_c_libs
="$aros_c_libs -lgcc1"
9219 aros_shared_default
=no
9220 aros_shared_cflags
="-fpic"
9221 aros_shared_aflags
=""
9222 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9223 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9224 aros_debug_cppflags
="$aros_messages_debug"
9225 aros_debug_cflags
="$aros_symbols_debug"
9226 aros_debug_aflags
=""
9227 aros_debug_ldflags
="$aros_symbols_debug"
9228 aros_mungwall_debug
="0"
9229 aros_modules_debug
="0"
9230 gcc_target_cpu
="mc68000"
9231 ignore_undefined_symbols
="-ius"
9234 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
9240 aros_target_arch
="mac"
9241 aros_shared_default
="no"
9242 case "$target_cpu" in
9244 aros_target_cpu
="m68k"
9245 aros_object_format
="m68kelf"
9246 aros_flavour
="mac68knative"
9247 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9248 aros_isa_flags
="$""(ISA_MC68000_FLAGS)"
9249 aros_nominal_width
=512
9250 aros_nominal_height
=384
9251 aros_nominal_depth
=8
9252 aros_target_ar_flags
="cru"
9253 aros_c_libs
="$aros_c_libs -lgcc1"
9254 aros_shared_default
=no
9255 aros_shared_cflags
="-fpic"
9256 aros_shared_aflags
=""
9257 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9258 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9259 aros_debug_cppflags
="$aros_messages_debug"
9260 aros_debug_cflags
="$aros_symbols_debug"
9261 aros_debug_aflags
=""
9262 aros_debug_ldflags
="$aros_symbols_debug"
9263 aros_mungwall_debug
="0"
9264 aros_modules_debug
="0"
9265 gcc_target_cpu
="mc68000"
9266 ignore_undefined_symbols
="-ius"
9269 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
9275 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
9279 #-----------------------------------------------------------------------------
9280 crosstools_guess
="yes"
9281 aros_target_toolchain
="no"
9282 aros_kernel_sysroot
=""
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kernel toolchain prefix" >&5
9285 $as_echo_n "checking Kernel toolchain prefix... " >&6; }
9287 # Check whether --with-kernel-toolchain-prefix was given.
9288 if test "${with_kernel_toolchain_prefix+set}" = set; then :
9289 withval
=$with_kernel_toolchain_prefix; kernel_tool_prefix
="$withval"
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9293 $as_echo "$kernel_tool_prefix" >&6; }
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELF toolchain prefix" >&5
9296 $as_echo_n "checking ELF toolchain prefix... " >&6; }
9298 # Check whether --with-elf-toolchain-prefix was given.
9299 if test "${with_elf_toolchain_prefix+set}" = set; then :
9300 withval
=$with_elf_toolchain_prefix; elf_tool_prefix
="$withval"
9301 crosstools_guess
="no"
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_tool_prefix" >&5
9305 $as_echo "$elf_tool_prefix" >&6; }
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS toolchain prefix" >&5
9308 $as_echo_n "checking AROS toolchain prefix... " >&6; }
9310 # Check whether --with-aros-toolchain was given.
9311 if test "${with_aros_toolchain+set}" = set; then :
9312 withval
=$with_aros_toolchain; aros_tool_prefix
="$withval"
9313 crosstools_guess
="no"
9316 if test "$aros_tool_prefix" = "yes" ; then
9317 aros_tool_prefix
=$aros_target_cpu-aros-
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
9320 $as_echo "$aros_tool_prefix" >&6; }
9322 #-----------------------------------------------------------------------------
9323 # Checking if we should build crosstools..
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
9325 $as_echo_n "checking whether to build crosstools... " >&6; }
9326 # Check whether --enable-crosstools was given.
9327 if test "${enable_crosstools+set}" = set; then :
9328 enableval
=$enable_crosstools; crosstools
="$enableval"
9330 crosstools
="$crosstools_guess"
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
9334 $as_echo "$crosstools" >&6; }
9336 if test "${crosstools}" = "yes"; then
9337 if test "${crosstools_guess}" = "no"; then
9338 as_fn_error $?
"Cannot build external toolchain if an external ELF or AROS toolchain is specified" "$LINENO" 5
9342 if test "${crosstools}" = "yes" ||
test "${crosstools_guess}" = "no"; then
9343 aros_target_toolchain
="yes"
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the crosstools binaries" >&5
9347 $as_echo_n "checking where to install the crosstools binaries... " >&6; }
9349 # Check whether --with-aros-toolchain-install was given.
9350 if test "${with_aros_toolchain_install+set}" = set; then :
9351 withval
=$with_aros_toolchain_install; aros_toolchain_install
=$withval
9354 if test "x$aros_toolchain_install" = "x"; then
9355 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
9357 AROS_CROSSTOOLSDIR
="$aros_toolchain_install"
9358 PATH
="$AROS_CROSSTOOLSDIR:$PATH"
9359 if test "$crosstools_guess" = "no" ; then
9360 if test "x-$aros_flavour" != "x-emulation" -a "x-$aros_flavour" != "x-emulcompat" ; then
9361 aros_kernel_sysroot
="$""(TARGET_SYSROOT)"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
9366 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
9368 #-----------------------------------------------------------------------------
9369 if test "$aros_toolchain" = "gnu" ; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target binutils version to use" >&5
9371 $as_echo_n "checking what specific target binutils version to use... " >&6; }
9374 # Check whether --with-binutils-version was given.
9375 if test "${with_binutils_version+set}" = set; then :
9376 withval
=$with_binutils_version; use_binutils_version
="$withval"
9378 use_binutils_version
=""
9381 if test "$use_binutils_version" = ""; then
9382 target_binutils_version
="$default_binutils_version"
9384 target_binutils_version
="$use_binutils_version"
9386 if test "$aros_toolchain" = "gnu" ; then
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_binutils_version" >&5
9388 $as_echo "$target_binutils_version" >&6; }
9392 # Helper to identify gcc version
9395 #-----------------------------------------------------------------------------
9396 if test "$aros_toolchain" = "gnu" ; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific target gcc version to use" >&5
9398 $as_echo_n "checking what specific target gcc version to use... " >&6; }
9401 # Check whether --with-gcc-version was given.
9402 if test "${with_gcc_version+set}" = set; then :
9403 withval
=$with_gcc_version; use_gcc_version
="$withval"
9408 if test "$use_gcc_version" = ""; then
9409 if test "${crosstools}" = "no"; then
9410 if test "x$aros_toolchain_install" != "x"; then
9412 target_gcc_version
=""
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
9414 $as_echo_n "checking gcc version... " >&6; }
9415 if ${ax_cv_gcc_version+:} false
; then :
9416 $as_echo_n "(cached) " >&6
9419 ax_cv_gcc_version
="`$AROS_CROSSTOOLSDIR/${aros_tool_prefix}${toolchain_cpp_preprocessor} -dumpversion`"
9420 if test "x$ax_cv_gcc_version" = "x"; then :
9422 ax_cv_gcc_version
=""
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gcc_version" >&5
9428 $as_echo "$ax_cv_gcc_version" >&6; }
9429 target_gcc_version
=$ax_cv_gcc_version
9434 if test "$use_gcc_version" = ""; then
9435 target_gcc_version
="$default_gcc_version"
9438 target_gcc_version
="$use_gcc_version"
9440 if test "$aros_toolchain" = "gnu" ; then
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_gcc_version" >&5
9442 $as_echo "$target_gcc_version" >&6; }
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version string style" >&5
9445 $as_echo_n "checking version string style... " >&6; }
9446 if test "${target_gcc_version#*$'-'}" != "$target_gcc_version" ; then
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: snapshot" >&5
9448 $as_echo "snapshot" >&6; }
9449 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'-' -f1)
9450 GCC_VERSION_MINOR
=-1
9451 GCC_VERSION_PATCH
=-1
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: release" >&5
9454 $as_echo "release" >&6; }
9455 GCC_VERSION_MAJOR
=$
(echo $target_gcc_version | cut
-d'.' -f1)
9456 GCC_VERSION_MINOR
=$
(echo $target_gcc_version | cut
-d'.' -f2)
9457 GCC_VERSION_PATCH
=$
(echo $target_gcc_version | cut
-d'.' -f3)
9460 gcc_fix_bitfields
="false"
9461 if test "$GCC_VERSION_MAJOR" -gt "4" ; then
9462 gcc_fix_bitfields
="true"
9464 if test "$GCC_VERSION_MAJOR" -gt "3" ; then
9465 if test "$GCC_VERSION_MINOR" -gt "6" ; then
9466 gcc_fix_bitfields
="true"
9471 if test "$gcc_fix_bitfields" = "true" ; then
9472 case "$aros_target_cpu" in
9474 x86_isa_extra
="$x86_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9475 x86_64_isa_extra
="$x86_64_isa_extra $""(CFLAGS_NO_MS_BITFIELDS)"
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Objective-C suppport" >&5
9482 $as_echo_n "checking whether to enable Objective-C suppport... " >&6; }
9483 # Check whether --enable-objc was given.
9484 if test "${enable_objc+set}" = set; then :
9485 enableval
=$enable_objc; objc
="$enableval"
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $objc" >&5
9491 $as_echo "$objc" >&6; }
9492 if test "x$objc" = "xyes"; then
9495 objc_target
="no-objc"
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Java suppport" >&5
9499 $as_echo_n "checking whether to enable Java suppport... " >&6; }
9500 # Check whether --enable-java was given.
9501 if test "${enable_java+set}" = set; then :
9502 enableval
=$enable_java; java
="$enableval"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $java" >&5
9508 $as_echo "$java" >&6; }
9509 if test "x$java" != "xno"; then
9512 java_target
="no-java"
9515 spec_obj_format
="-m $aros_object_format"
9516 # Now process extra architecture-specific options.
9517 # Currently this is implemented only for ARM. We can specify which minimum CPU and FPU to use,\
9518 # as well as floating-point ABI.
9519 case "$aros_target_cpu" in
9521 aros_isa_targets
="M68K_ISA_TARGETS :=MC68020 MC68040"
9522 aros_isa_extra
="$aros_isa_extra$export_newline$aros_isa_targets$export_newline"
9523 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"
9524 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"
9525 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"
9526 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"
9527 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"
9530 aros_isa_extra
="$export_newline$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9531 spec_obj_format
="%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
9534 if test "$gcc_default_cpu" = ""; then
9535 gcc_default_cpu
="armv6"
9537 if test "$gcc_default_fpu" = ""; then
9538 gcc_default_fpu
="vfp"
9540 if test "$gcc_default_endian" = ""; then
9541 if test "$target_cpu" = "armeb"; then
9542 gcc_default_endian
="big-endian"
9544 gcc_default_endian
="little-endian"
9547 if test "$gcc_default_float_abi" = ""; then
9548 if test "$target_cpu" = "armhf"; then
9549 gcc_default_float_abi
="hard"
9551 gcc_default_float_abi
="softfp"
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum CPU to use" >&5
9556 $as_echo_n "checking Which minimum CPU to use... " >&6; }
9558 # Check whether --with-cpu was given.
9559 if test "${with_cpu+set}" = set; then :
9560 withval
=$with_cpu; aros_gcc_cpu
="$withval"
9562 aros_gcc_cpu
=$gcc_default_cpu
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_cpu" >&5
9566 $as_echo "$aros_gcc_cpu" >&6; }
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which minimum FPU to use" >&5
9569 $as_echo_n "checking Which minimum FPU to use... " >&6; }
9571 # Check whether --with-fpu was given.
9572 if test "${with_fpu+set}" = set; then :
9573 withval
=$with_fpu; aros_gcc_fpu
="$withval"
9575 aros_gcc_fpu
=$gcc_default_fpu
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_fpu" >&5
9579 $as_echo "$aros_gcc_fpu" >&6; }
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which floating point ABI to use" >&5
9582 $as_echo_n "checking Which floating point ABI to use... " >&6; }
9584 # Check whether --with-float was given.
9585 if test "${with_float+set}" = set; then :
9586 withval
=$with_float; aros_gcc_float_abi
="$withval"
9588 aros_gcc_float_abi
=$gcc_default_float_abi
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_float_abi" >&5
9592 $as_echo "$aros_gcc_float_abi" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Which ARM mode to use" >&5
9595 $as_echo_n "checking Which ARM mode to use... " >&6; }
9596 if test "$aros_target_cpu_mode" = ""; then
9597 aros_target_cpu_mode
="arm32"
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Defaulting to $aros_target_cpu_mode" >&5
9599 $as_echo "Defaulting to $aros_target_cpu_mode" >&6; }
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cpu_mode" >&5
9602 $as_echo "$aros_target_cpu_mode" >&6; }
9605 case "$aros_target_cpu_mode" in
9607 gcc_default_mode
="arm"
9608 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"
9611 as_fn_error $?
"ARM 64-bit mode is unsupported" "$LINENO" 5
9614 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9617 as_fn_error $?
"Thumb1 16-bit mode is unsupported" "$LINENO" 5
9620 gcc_default_mode
="thumb"
9621 # Do not specify -mthumb-interwork as it may add extra code to support arm/thumb interwork
9622 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"
9625 as_fn_error $?
"Unsupported ARM mode specified $aros_target_cpu_mode" "$LINENO" 5
9629 aros_config_cflags
="$aros_config_cflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9630 aros_config_cxxflags
="$aros_config_cxxflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9631 aros_config_aflags
="$aros_config_aflags $""(CFLAGS_NO_ASYNCHRONOUS_UNWIND_TABLES) $""(CFLAGS_NO_EXCEPTIONS)"
9634 aros_isa_extra
="$x86_isa_extra$export_newline$x86_64_isa_extra$export_newline"
9635 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
9639 # Some architectures may need custom ELF specs.
9640 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
9641 elf_specs_in
=config
/${aros_object_format}-specs.
in
9643 elf_specs_in
=config
/elf-specs.
in
9646 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
9647 # Since we override specs, we may need to put these defines there
9648 if test "$gcc_target_cpu" != ""; then
9649 gcc_target_cpu
="-D__${gcc_target_cpu}__"
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
9653 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
9655 # Check whether --with-portssources was given.
9656 if test "${with_portssources+set}" = set; then :
9657 withval
=$with_portssources; with_portssrcdir
=$withval
9659 with_portssrcdir
="default"
9662 if test "$with_portssrcdir" = "default"; then
9663 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9665 AROS_PORTSSRCDIR
="$with_portssrcdir"
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
9668 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
9671 $as_echo_n "checking which bootloader to use... " >&6; }
9673 # Check whether --with-bootloader was given.
9674 if test "${with_bootloader+set}" = set; then :
9675 withval
=$with_bootloader; target_bootloader
=$withval
9677 target_bootloader
=$target_bootloader
9680 if test "$target_bootloader" = "none"; then
9681 aros_target_bootloader
=""
9683 aros_target_bootloader
="$target_bootloader"
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
9686 $as_echo "$target_bootloader" >&6; }
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
9689 $as_echo_n "checking which icon-set to use... " >&6; }
9691 # Check whether --with-iconset was given.
9692 if test "${with_iconset+set}" = set; then :
9693 withval
=$with_iconset; target_iconset
=$withval
9695 target_iconset
="default"
9698 if test "$target_iconset" = "default"; then
9699 aros_target_iconset
="Gorilla"
9700 target_iconset
="default (Gorilla)"
9702 aros_target_iconset
="$target_iconset"
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
9705 $as_echo "$target_iconset" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
9708 $as_echo_n "checking which GUI Theme to use... " >&6; }
9710 # Check whether --with-theme was given.
9711 if test "${with_theme+set}" = set; then :
9712 withval
=$with_theme; target_guitheme
=$withval
9714 target_guitheme
="default"
9717 if test "$target_guitheme" = "default"; then
9718 aros_target_guitheme
="Ice"
9720 aros_target_guitheme
="$target_guitheme"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
9723 $as_echo "$aros_target_guitheme" >&6; }
9725 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9729 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9733 if test "$aros_host_cpu" == "x86_64" ; then
9734 if test "$aros_target_cpu" == "i386" ; then
9739 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9740 if test "$aros_host_arch" != "$aros_target_arch" ; then
9747 if test "$cross_compiling" = "no" ; then
9748 kernel_tool_prefix
=""
9749 if test "$host_cc_elf" = "yes" ; then
9754 if test "$kernel_tool_version" != ""; then
9755 kernel_tool_version
="-$kernel_tool_version"
9758 #######################################################################
9759 ## Compute what toolchains to use, and their paths ##
9760 #######################################################################
9762 # This takes, as input:
9763 # crosstools {yes,no}
9764 # kernel_tool_version {"",[version]}
9765 # target_tool_version {"",[version]}
9766 # kernel_tool_prefix {none,[some-arch-os-]}
9768 # target_tool_prefix ${aros_target_cpu}-aros-
9769 # aros_tool_prefix ${aros_target_cpu}-aros-
9772 # aros_kernel_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9773 # Where the 'kernel' binaries are located
9774 # orig_target_{cpp,cc,ar,ld,as,ranlib,nm,strip}
9775 # Where the 'target' binaries are located
9776 # (not the symlink farm - that is aros_target_*!)
9779 # if crosstools then
9780 # if kernel_tools_prefix = "no-kernel-prefix-"
9781 # aros_kernel_* = crosstools cc paths
9782 # aros_kernel_cc = elf cc wrapper around crosstools cc
9784 # VALIDATE(${kernel_tools_prefix}*)
9785 # aros_kernel_* = ${kernel_tools_prefix}*
9786 # if ${kernel_tools_prefix}cc is an AROS gcc
9787 # aros_kernel_cc = ${kernel_tools_prefix}cc
9789 # aros_kernel_cc = elf cc wrapper around ${kernel_tools_prefix}cc
9793 # orig_target_* = aros built crosstools
9794 # orig_target_cc = elf cc wrapper around crosstools cc
9796 # VALIDATE(${kernel_tools_prefix}*)
9798 # orig_target_* = aros_kernel_*
9799 # if aros_kernel_cc is an AROS gcc
9800 # orig_target_cc = aros_kernel_cc
9802 # orig_target_cc = aros cc wrapper around aros_kernel_cc
9806 if test "$aros_toolchain" = "gnu" ; then
9807 target_tool_prefix
="${aros_target_cpu}-aros-"
9808 elif test "$aros_toolchain" = "llvm" ; then
9809 target_tool_prefix
="bin/"
9812 if test "$kernel_tool_prefix" != "" ; then
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which kernel tools" >&5
9814 $as_echo_n "checking which kernel tools... " >&6; }
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_tool_prefix" >&5
9816 $as_echo "$kernel_tool_prefix" >&6; };
9819 if test "$kernel_tool_prefix" = "none" ; then
9820 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9821 as_fn_error $?
"--with-kernel-toolchain-prefix= is required for this arch" "$LINENO" 5
9824 if test "x-$aros_flavour" != "x-standalone" -o "x-$aros_flavour" != "x-standcompat" ; then
9825 # Kernel tools required - find them
9826 # Note that 'normally', aros_kernel_* overrides will be
9827 # empty, unless specified in the per-arch sections above.
9829 if test "x$aros_kernel_cpp" = "x"; then
9830 aros_kernel_cpp
=${kernel_tool_prefix}${CPP}
9832 if test "${kernel_tool_version}" != ""; then
9833 if test "$aros_kernel_cpp" != ""; then
9834 ac_prog_args
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9835 ac_prog_cmd
=`expr "X$aros_kernel_cpp" : '^\S*'`
9836 aros_kernel_cpp
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
9840 if test "$aros_kernel_cpp" = ""; then
9841 if test "$cross_compiling" = "yes" ; then
9842 # Extract the first word of "${kernel_tool_prefix}cpp", so it can be a program name with args.
9843 set dummy
${kernel_tool_prefix}cpp
; ac_word
=$2
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9845 $as_echo_n "checking for $ac_word... " >&6; }
9846 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9847 $as_echo_n "(cached) " >&6
9849 case $aros_kernel_cpp in
9851 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9858 test -z "$as_dir" && as_dir
=.
9859 for ac_exec_ext
in '' $ac_executable_extensions; do
9860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9861 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9872 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9873 if test -n "$aros_kernel_cpp"; then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9875 $as_echo "$aros_kernel_cpp" >&6; }
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9878 $as_echo "no" >&6; }
9884 if test "" = ""; then
9889 if test "$GCC" = "yes"; then
9890 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
9891 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
9892 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9894 $as_echo_n "checking for $ac_word... " >&6; }
9895 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9896 $as_echo_n "(cached) " >&6
9898 case $aros_kernel_cpp in
9900 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9904 for as_dir
in `dirname $aros_gcc_cpp`
9907 test -z "$as_dir" && as_dir
=.
9908 for ac_exec_ext
in '' $ac_executable_extensions; do
9909 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9910 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9921 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9922 if test -n "$aros_kernel_cpp"; then
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9924 $as_echo "$aros_kernel_cpp" >&6; }
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9927 $as_echo "no" >&6; }
9932 if test "$aros_kernel_cpp" = ""; then
9933 for ac_prog
in $ac_tool_cpp
9935 # Extract the first word of "$ac_prog", so it can be a program name with args.
9936 set dummy
$ac_prog; ac_word
=$2
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9938 $as_echo_n "checking for $ac_word... " >&6; }
9939 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9940 $as_echo_n "(cached) " >&6
9942 case $aros_kernel_cpp in
9944 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9951 test -z "$as_dir" && as_dir
=.
9952 for ac_exec_ext
in '' $ac_executable_extensions; do
9953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9954 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
9955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9965 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
9966 if test -n "$aros_kernel_cpp"; then
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
9968 $as_echo "$aros_kernel_cpp" >&6; }
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9971 $as_echo "no" >&6; }
9975 test -n "$aros_kernel_cpp" && break
9982 ac_tool_optarg
=`expr "X$aros_kernel_cpp" : '[^ ]* \(.*\)'`
9983 # Extract the first word of "$aros_kernel_cpp", so it can be a program name with args.
9984 set dummy
$aros_kernel_cpp; ac_word
=$2
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9986 $as_echo_n "checking for $ac_word... " >&6; }
9987 if ${ac_cv_path_aros_kernel_cpp+:} false
; then :
9988 $as_echo_n "(cached) " >&6
9990 case $aros_kernel_cpp in
9992 ac_cv_path_aros_kernel_cpp
="$aros_kernel_cpp" # Let the user override the test with a path.
9995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9999 test -z "$as_dir" && as_dir
=.
10000 for ac_exec_ext
in '' $ac_executable_extensions; do
10001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10002 ac_cv_path_aros_kernel_cpp
="$as_dir/$ac_word$ac_exec_ext"
10003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10013 aros_kernel_cpp
=$ac_cv_path_aros_kernel_cpp
10014 if test -n "$aros_kernel_cpp"; then
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cpp" >&5
10016 $as_echo "$aros_kernel_cpp" >&6; }
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10019 $as_echo "no" >&6; }
10023 aros_kernel_cpp
="$aros_kernel_cpp $ac_tool_optarg"
10027 if test "$aros_kernel_cpp" = ""; then
10030 if test "$aros_kernel_cpp" = "no"; then
10033 if test "$req_avail" = "no"; then
10034 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
10037 if test "x$aros_kernel_cc" = "x"; then
10038 aros_kernel_cc
=${kernel_tool_prefix}${CC}
10040 if test "${kernel_tool_version}" != ""; then
10041 if test "$aros_kernel_cc" != ""; then
10042 ac_prog_args
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10043 ac_prog_cmd
=`expr "X$aros_kernel_cc" : '^\S*'`
10044 aros_kernel_cc
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10048 if test "$aros_kernel_cc" = ""; then
10049 if test "$cross_compiling" = "yes" ; then
10050 # Extract the first word of "${kernel_tool_prefix}cc", so it can be a program name with args.
10051 set dummy
${kernel_tool_prefix}cc
; ac_word
=$2
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10053 $as_echo_n "checking for $ac_word... " >&6; }
10054 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10055 $as_echo_n "(cached) " >&6
10057 case $aros_kernel_cc in
10059 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10063 for as_dir
in $PATH
10066 test -z "$as_dir" && as_dir
=.
10067 for ac_exec_ext
in '' $ac_executable_extensions; do
10068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10069 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10080 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10081 if test -n "$aros_kernel_cc"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10083 $as_echo "$aros_kernel_cc" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10086 $as_echo "no" >&6; }
10092 if test "" = ""; then
10097 if test "$GCC" = "yes"; then
10098 aros_gcc_cc
=`$CC -print-prog-name=$ac_tool_cc`
10099 # Extract the first word of "`basename $aros_gcc_[cc]`", so it can be a program name with args.
10100 set dummy
`basename $aros_gcc_cc`; ac_word
=$2
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10102 $as_echo_n "checking for $ac_word... " >&6; }
10103 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10104 $as_echo_n "(cached) " >&6
10106 case $aros_kernel_cc in
10108 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10112 for as_dir
in `dirname $aros_gcc_cc`
10115 test -z "$as_dir" && as_dir
=.
10116 for ac_exec_ext
in '' $ac_executable_extensions; do
10117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10118 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10129 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10130 if test -n "$aros_kernel_cc"; then
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10132 $as_echo "$aros_kernel_cc" >&6; }
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10135 $as_echo "no" >&6; }
10140 if test "$aros_kernel_cc" = ""; then
10141 for ac_prog
in $ac_tool_cc
10143 # Extract the first word of "$ac_prog", so it can be a program name with args.
10144 set dummy
$ac_prog; ac_word
=$2
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10146 $as_echo_n "checking for $ac_word... " >&6; }
10147 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10148 $as_echo_n "(cached) " >&6
10150 case $aros_kernel_cc in
10152 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10156 for as_dir
in $PATH
10159 test -z "$as_dir" && as_dir
=.
10160 for ac_exec_ext
in '' $ac_executable_extensions; do
10161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10162 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10173 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10174 if test -n "$aros_kernel_cc"; then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10176 $as_echo "$aros_kernel_cc" >&6; }
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10179 $as_echo "no" >&6; }
10183 test -n "$aros_kernel_cc" && break
10190 ac_tool_optarg
=`expr "X$aros_kernel_cc" : '[^ ]* \(.*\)'`
10191 # Extract the first word of "$aros_kernel_cc", so it can be a program name with args.
10192 set dummy
$aros_kernel_cc; ac_word
=$2
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10194 $as_echo_n "checking for $ac_word... " >&6; }
10195 if ${ac_cv_path_aros_kernel_cc+:} false
; then :
10196 $as_echo_n "(cached) " >&6
10198 case $aros_kernel_cc in
10200 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
10203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10204 for as_dir
in $PATH
10207 test -z "$as_dir" && as_dir
=.
10208 for ac_exec_ext
in '' $ac_executable_extensions; do
10209 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10210 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
10211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10221 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
10222 if test -n "$aros_kernel_cc"; then
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc" >&5
10224 $as_echo "$aros_kernel_cc" >&6; }
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10227 $as_echo "no" >&6; }
10231 aros_kernel_cc
="$aros_kernel_cc $ac_tool_optarg"
10235 if test "$aros_kernel_cc" = ""; then
10238 if test "$aros_kernel_cc" = "no"; then
10241 if test "$req_avail" = "no"; then
10242 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
10245 if test "x$aros_kernel_cxx" = "x"; then
10246 aros_kernel_cxx
=${kernel_tool_prefix}${CXX}
10248 if test "${kernel_tool_version}" != ""; then
10249 if test "$aros_kernel_cxx" != ""; then
10250 ac_prog_args
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10251 ac_prog_cmd
=`expr "X$aros_kernel_cxx" : '^\S*'`
10252 aros_kernel_cxx
="$ac_prog_cmd$${kernel_tool_version} $ac_prog_args"
10256 if test "$aros_kernel_cxx" = ""; then
10257 if test "$cross_compiling" = "yes" ; then
10258 # Extract the first word of "${kernel_tool_prefix}cxx", so it can be a program name with args.
10259 set dummy
${kernel_tool_prefix}cxx
; ac_word
=$2
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10261 $as_echo_n "checking for $ac_word... " >&6; }
10262 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10263 $as_echo_n "(cached) " >&6
10265 case $aros_kernel_cxx in
10267 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10271 for as_dir
in $PATH
10274 test -z "$as_dir" && as_dir
=.
10275 for ac_exec_ext
in '' $ac_executable_extensions; do
10276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10277 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10288 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10289 if test -n "$aros_kernel_cxx"; then
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10291 $as_echo "$aros_kernel_cxx" >&6; }
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10294 $as_echo "no" >&6; }
10300 if test "" = ""; then
10305 if test "$GCC" = "yes"; then
10306 aros_gcc_cxx
=`$CC -print-prog-name=$ac_tool_cxx`
10307 # Extract the first word of "`basename $aros_gcc_[cxx]`", so it can be a program name with args.
10308 set dummy
`basename $aros_gcc_cxx`; ac_word
=$2
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10310 $as_echo_n "checking for $ac_word... " >&6; }
10311 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10312 $as_echo_n "(cached) " >&6
10314 case $aros_kernel_cxx in
10316 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10320 for as_dir
in `dirname $aros_gcc_cxx`
10323 test -z "$as_dir" && as_dir
=.
10324 for ac_exec_ext
in '' $ac_executable_extensions; do
10325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10326 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10337 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10338 if test -n "$aros_kernel_cxx"; then
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10340 $as_echo "$aros_kernel_cxx" >&6; }
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10343 $as_echo "no" >&6; }
10348 if test "$aros_kernel_cxx" = ""; then
10349 for ac_prog
in $ac_tool_cxx
10351 # Extract the first word of "$ac_prog", so it can be a program name with args.
10352 set dummy
$ac_prog; ac_word
=$2
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10354 $as_echo_n "checking for $ac_word... " >&6; }
10355 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10356 $as_echo_n "(cached) " >&6
10358 case $aros_kernel_cxx in
10360 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10364 for as_dir
in $PATH
10367 test -z "$as_dir" && as_dir
=.
10368 for ac_exec_ext
in '' $ac_executable_extensions; do
10369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10370 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10381 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10382 if test -n "$aros_kernel_cxx"; then
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10384 $as_echo "$aros_kernel_cxx" >&6; }
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10387 $as_echo "no" >&6; }
10391 test -n "$aros_kernel_cxx" && break
10398 ac_tool_optarg
=`expr "X$aros_kernel_cxx" : '[^ ]* \(.*\)'`
10399 # Extract the first word of "$aros_kernel_cxx", so it can be a program name with args.
10400 set dummy
$aros_kernel_cxx; ac_word
=$2
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10402 $as_echo_n "checking for $ac_word... " >&6; }
10403 if ${ac_cv_path_aros_kernel_cxx+:} false
; then :
10404 $as_echo_n "(cached) " >&6
10406 case $aros_kernel_cxx in
10408 ac_cv_path_aros_kernel_cxx
="$aros_kernel_cxx" # Let the user override the test with a path.
10411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10412 for as_dir
in $PATH
10415 test -z "$as_dir" && as_dir
=.
10416 for ac_exec_ext
in '' $ac_executable_extensions; do
10417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10418 ac_cv_path_aros_kernel_cxx
="$as_dir/$ac_word$ac_exec_ext"
10419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10429 aros_kernel_cxx
=$ac_cv_path_aros_kernel_cxx
10430 if test -n "$aros_kernel_cxx"; then
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cxx" >&5
10432 $as_echo "$aros_kernel_cxx" >&6; }
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10435 $as_echo "no" >&6; }
10439 aros_kernel_cxx
="$aros_kernel_cxx $ac_tool_optarg"
10442 # If it's set, make sure it's really there
10443 if test "x$aros_kernel_cxx" != "x" ; then
10445 if test "$aros_kernel_cxx" = ""; then
10448 if test "$aros_kernel_cxx" = "no"; then
10451 if test "$req_avail" = "no"; then
10452 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
10455 if test "x$aros_kernel_ld" = "x"; then
10456 aros_kernel_ld
=$aros_host_ld
10459 if test "$aros_kernel_ld" = ""; then
10460 if test "$cross_compiling" = "yes" ; then
10461 # Extract the first word of "${kernel_tool_prefix}ld", so it can be a program name with args.
10462 set dummy
${kernel_tool_prefix}ld
; ac_word
=$2
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10464 $as_echo_n "checking for $ac_word... " >&6; }
10465 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10466 $as_echo_n "(cached) " >&6
10468 case $aros_kernel_ld in
10470 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10474 for as_dir
in $PATH
10477 test -z "$as_dir" && as_dir
=.
10478 for ac_exec_ext
in '' $ac_executable_extensions; do
10479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10480 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10491 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10492 if test -n "$aros_kernel_ld"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10494 $as_echo "$aros_kernel_ld" >&6; }
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 $as_echo "no" >&6; }
10503 if test "" = ""; then
10508 if test "$GCC" = "yes"; then
10509 aros_gcc_ld
=`$CC -print-prog-name=$ac_tool_ld`
10510 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10511 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10513 $as_echo_n "checking for $ac_word... " >&6; }
10514 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10515 $as_echo_n "(cached) " >&6
10517 case $aros_kernel_ld in
10519 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10523 for as_dir
in `dirname $aros_gcc_ld`
10526 test -z "$as_dir" && as_dir
=.
10527 for ac_exec_ext
in '' $ac_executable_extensions; do
10528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10529 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10540 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10541 if test -n "$aros_kernel_ld"; then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10543 $as_echo "$aros_kernel_ld" >&6; }
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10546 $as_echo "no" >&6; }
10551 if test "$aros_kernel_ld" = ""; then
10552 for ac_prog
in $ac_tool_ld
10554 # Extract the first word of "$ac_prog", so it can be a program name with args.
10555 set dummy
$ac_prog; ac_word
=$2
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10557 $as_echo_n "checking for $ac_word... " >&6; }
10558 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10559 $as_echo_n "(cached) " >&6
10561 case $aros_kernel_ld in
10563 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10567 for as_dir
in $PATH
10570 test -z "$as_dir" && as_dir
=.
10571 for ac_exec_ext
in '' $ac_executable_extensions; do
10572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10573 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10584 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10585 if test -n "$aros_kernel_ld"; then
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10587 $as_echo "$aros_kernel_ld" >&6; }
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10590 $as_echo "no" >&6; }
10594 test -n "$aros_kernel_ld" && break
10601 ac_tool_optarg
=`expr "X$aros_kernel_ld" : '[^ ]* \(.*\)'`
10602 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10603 set dummy
$aros_kernel_ld; ac_word
=$2
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10605 $as_echo_n "checking for $ac_word... " >&6; }
10606 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
10607 $as_echo_n "(cached) " >&6
10609 case $aros_kernel_ld in
10611 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10615 for as_dir
in $PATH
10618 test -z "$as_dir" && as_dir
=.
10619 for ac_exec_ext
in '' $ac_executable_extensions; do
10620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10621 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10633 if test -n "$aros_kernel_ld"; then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10635 $as_echo "$aros_kernel_ld" >&6; }
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10638 $as_echo "no" >&6; }
10642 aros_kernel_ld
="$aros_kernel_ld $ac_tool_optarg"
10646 if test "$aros_kernel_ld" = ""; then
10649 if test "$aros_kernel_ld" = "no"; then
10652 if test "$req_avail" = "no"; then
10653 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10655 if test "x$aros_kernel_as" = "x"; then
10656 aros_kernel_as
=$aros_host_as
10657 if test "x$aros_kernel_as" = "x"; then
10658 aros_kernel_as
=${HOST_TOOLCHAIN_PREFIX}as
${HOST_TOOLCHAIN_SUFFIX}
10662 if test "$aros_kernel_as" = ""; then
10663 if test "$cross_compiling" = "yes" ; then
10664 # Extract the first word of "${kernel_tool_prefix}as", so it can be a program name with args.
10665 set dummy
${kernel_tool_prefix}as
; ac_word
=$2
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10667 $as_echo_n "checking for $ac_word... " >&6; }
10668 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10669 $as_echo_n "(cached) " >&6
10671 case $aros_kernel_as in
10673 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10677 for as_dir
in $PATH
10680 test -z "$as_dir" && as_dir
=.
10681 for ac_exec_ext
in '' $ac_executable_extensions; do
10682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10683 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10694 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10695 if test -n "$aros_kernel_as"; then
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10697 $as_echo "$aros_kernel_as" >&6; }
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10700 $as_echo "no" >&6; }
10706 if test "" = ""; then
10711 if test "$GCC" = "yes"; then
10712 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
10713 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
10714 set dummy
`basename $aros_gcc_as`; ac_word
=$2
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10716 $as_echo_n "checking for $ac_word... " >&6; }
10717 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10718 $as_echo_n "(cached) " >&6
10720 case $aros_kernel_as in
10722 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10726 for as_dir
in `dirname $aros_gcc_as`
10729 test -z "$as_dir" && as_dir
=.
10730 for ac_exec_ext
in '' $ac_executable_extensions; do
10731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10732 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10743 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10744 if test -n "$aros_kernel_as"; then
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10746 $as_echo "$aros_kernel_as" >&6; }
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10749 $as_echo "no" >&6; }
10754 if test "$aros_kernel_as" = ""; then
10755 for ac_prog
in $ac_tool_as
10757 # Extract the first word of "$ac_prog", so it can be a program name with args.
10758 set dummy
$ac_prog; ac_word
=$2
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10760 $as_echo_n "checking for $ac_word... " >&6; }
10761 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10762 $as_echo_n "(cached) " >&6
10764 case $aros_kernel_as in
10766 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10770 for as_dir
in $PATH
10773 test -z "$as_dir" && as_dir
=.
10774 for ac_exec_ext
in '' $ac_executable_extensions; do
10775 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10776 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10787 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10788 if test -n "$aros_kernel_as"; then
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10790 $as_echo "$aros_kernel_as" >&6; }
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10793 $as_echo "no" >&6; }
10797 test -n "$aros_kernel_as" && break
10804 ac_tool_optarg
=`expr "X$aros_kernel_as" : '[^ ]* \(.*\)'`
10805 # Extract the first word of "$aros_kernel_as", so it can be a program name with args.
10806 set dummy
$aros_kernel_as; ac_word
=$2
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10808 $as_echo_n "checking for $ac_word... " >&6; }
10809 if ${ac_cv_path_aros_kernel_as+:} false
; then :
10810 $as_echo_n "(cached) " >&6
10812 case $aros_kernel_as in
10814 ac_cv_path_aros_kernel_as
="$aros_kernel_as" # Let the user override the test with a path.
10817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10818 for as_dir
in $PATH
10821 test -z "$as_dir" && as_dir
=.
10822 for ac_exec_ext
in '' $ac_executable_extensions; do
10823 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10824 ac_cv_path_aros_kernel_as
="$as_dir/$ac_word$ac_exec_ext"
10825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10835 aros_kernel_as
=$ac_cv_path_aros_kernel_as
10836 if test -n "$aros_kernel_as"; then
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_as" >&5
10838 $as_echo "$aros_kernel_as" >&6; }
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10841 $as_echo "no" >&6; }
10845 aros_kernel_as
="$aros_kernel_as $ac_tool_optarg"
10849 if test "$aros_kernel_as" = ""; then
10852 if test "$aros_kernel_as" = "no"; then
10855 if test "$req_avail" = "no"; then
10856 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
10858 if test "x$aros_kernel_ar" = "x"; then
10859 aros_kernel_ar
=$aros_host_full_ar
10862 if test "$aros_kernel_ar" = ""; then
10863 if test "$cross_compiling" = "yes" ; then
10864 # Extract the first word of "${kernel_tool_prefix}ar", so it can be a program name with args.
10865 set dummy
${kernel_tool_prefix}ar; ac_word
=$2
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10867 $as_echo_n "checking for $ac_word... " >&6; }
10868 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10869 $as_echo_n "(cached) " >&6
10871 case $aros_kernel_ar in
10873 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10877 for as_dir
in $PATH
10880 test -z "$as_dir" && as_dir
=.
10881 for ac_exec_ext
in '' $ac_executable_extensions; do
10882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10883 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10894 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10895 if test -n "$aros_kernel_ar"; then
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10897 $as_echo "$aros_kernel_ar" >&6; }
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10900 $as_echo "no" >&6; }
10906 if test "" = ""; then
10911 if test "$GCC" = "yes"; then
10912 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
10913 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10914 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10916 $as_echo_n "checking for $ac_word... " >&6; }
10917 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10918 $as_echo_n "(cached) " >&6
10920 case $aros_kernel_ar in
10922 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10926 for as_dir
in `dirname $aros_gcc_ar`
10929 test -z "$as_dir" && as_dir
=.
10930 for ac_exec_ext
in '' $ac_executable_extensions; do
10931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10932 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10943 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10944 if test -n "$aros_kernel_ar"; then
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10946 $as_echo "$aros_kernel_ar" >&6; }
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10949 $as_echo "no" >&6; }
10954 if test "$aros_kernel_ar" = ""; then
10955 for ac_prog
in $ac_tool_ar
10957 # Extract the first word of "$ac_prog", so it can be a program name with args.
10958 set dummy
$ac_prog; ac_word
=$2
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10960 $as_echo_n "checking for $ac_word... " >&6; }
10961 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10964 case $aros_kernel_ar in
10966 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10970 for as_dir
in $PATH
10973 test -z "$as_dir" && as_dir
=.
10974 for ac_exec_ext
in '' $ac_executable_extensions; do
10975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10976 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10987 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10988 if test -n "$aros_kernel_ar"; then
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10990 $as_echo "$aros_kernel_ar" >&6; }
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10993 $as_echo "no" >&6; }
10997 test -n "$aros_kernel_ar" && break
11004 ac_tool_optarg
=`expr "X$aros_kernel_ar" : '[^ ]* \(.*\)'`
11005 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
11006 set dummy
$aros_kernel_ar; ac_word
=$2
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11008 $as_echo_n "checking for $ac_word... " >&6; }
11009 if ${ac_cv_path_aros_kernel_ar+:} false
; then :
11010 $as_echo_n "(cached) " >&6
11012 case $aros_kernel_ar in
11014 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
11017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11018 for as_dir
in $PATH
11021 test -z "$as_dir" && as_dir
=.
11022 for ac_exec_ext
in '' $ac_executable_extensions; do
11023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11024 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
11025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11035 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
11036 if test -n "$aros_kernel_ar"; then
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
11038 $as_echo "$aros_kernel_ar" >&6; }
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11041 $as_echo "no" >&6; }
11045 aros_kernel_ar
="$aros_kernel_ar $ac_tool_optarg"
11049 if test "$aros_kernel_ar" = ""; then
11052 if test "$aros_kernel_ar" = "no"; then
11055 if test "$req_avail" = "no"; then
11056 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
11058 if test "x$aros_kernel_ranlib" = "x"; then
11059 aros_kernel_ranlib
=$aros_host_ranlib
11062 if test "$aros_kernel_ranlib" = ""; then
11063 if test "$cross_compiling" = "yes" ; then
11064 # Extract the first word of "${kernel_tool_prefix}ranlib", so it can be a program name with args.
11065 set dummy
${kernel_tool_prefix}ranlib
; ac_word
=$2
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11067 $as_echo_n "checking for $ac_word... " >&6; }
11068 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11069 $as_echo_n "(cached) " >&6
11071 case $aros_kernel_ranlib in
11073 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11077 for as_dir
in $PATH
11080 test -z "$as_dir" && as_dir
=.
11081 for ac_exec_ext
in '' $ac_executable_extensions; do
11082 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11083 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11094 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11095 if test -n "$aros_kernel_ranlib"; then
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11097 $as_echo "$aros_kernel_ranlib" >&6; }
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11100 $as_echo "no" >&6; }
11106 if test "" = ""; then
11107 ac_tool_ranlib
=ranlib
11111 if test "$GCC" = "yes"; then
11112 aros_gcc_ranlib
=`$CC -print-prog-name=$ac_tool_ranlib`
11113 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
11114 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11116 $as_echo_n "checking for $ac_word... " >&6; }
11117 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11118 $as_echo_n "(cached) " >&6
11120 case $aros_kernel_ranlib in
11122 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11126 for as_dir
in `dirname $aros_gcc_ranlib`
11129 test -z "$as_dir" && as_dir
=.
11130 for ac_exec_ext
in '' $ac_executable_extensions; do
11131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11132 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11143 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11144 if test -n "$aros_kernel_ranlib"; then
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11146 $as_echo "$aros_kernel_ranlib" >&6; }
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11149 $as_echo "no" >&6; }
11154 if test "$aros_kernel_ranlib" = ""; then
11155 for ac_prog
in $ac_tool_ranlib
11157 # Extract the first word of "$ac_prog", so it can be a program name with args.
11158 set dummy
$ac_prog; ac_word
=$2
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11160 $as_echo_n "checking for $ac_word... " >&6; }
11161 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11162 $as_echo_n "(cached) " >&6
11164 case $aros_kernel_ranlib in
11166 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11170 for as_dir
in $PATH
11173 test -z "$as_dir" && as_dir
=.
11174 for ac_exec_ext
in '' $ac_executable_extensions; do
11175 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11176 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11187 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11188 if test -n "$aros_kernel_ranlib"; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11190 $as_echo "$aros_kernel_ranlib" >&6; }
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11193 $as_echo "no" >&6; }
11197 test -n "$aros_kernel_ranlib" && break
11204 ac_tool_optarg
=`expr "X$aros_kernel_ranlib" : '[^ ]* \(.*\)'`
11205 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
11206 set dummy
$aros_kernel_ranlib; ac_word
=$2
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11208 $as_echo_n "checking for $ac_word... " >&6; }
11209 if ${ac_cv_path_aros_kernel_ranlib+:} false
; then :
11210 $as_echo_n "(cached) " >&6
11212 case $aros_kernel_ranlib in
11214 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
11217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11218 for as_dir
in $PATH
11221 test -z "$as_dir" && as_dir
=.
11222 for ac_exec_ext
in '' $ac_executable_extensions; do
11223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11224 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
11225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11235 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
11236 if test -n "$aros_kernel_ranlib"; then
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
11238 $as_echo "$aros_kernel_ranlib" >&6; }
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11241 $as_echo "no" >&6; }
11245 aros_kernel_ranlib
="$aros_kernel_ranlib $ac_tool_optarg"
11249 if test "$aros_kernel_ranlib" = ""; then
11252 if test "$aros_kernel_ranlib" = "no"; then
11255 if test "$req_avail" = "no"; then
11256 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
11258 if test "x$aros_kernel_nm" = "x"; then
11259 aros_kernel_nm
=$aros_host_nm
11260 if test "x$aros_kernel_nm" = "x"; then
11261 aros_kernel_nm
=${HOST_TOOLCHAIN_PREFIX}nm
${HOST_TOOLCHAIN_SUFFIX}
11265 if test "$aros_kernel_nm" = ""; then
11266 if test "$cross_compiling" = "yes" ; then
11267 # Extract the first word of "${kernel_tool_prefix}nm", so it can be a program name with args.
11268 set dummy
${kernel_tool_prefix}nm
; ac_word
=$2
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11270 $as_echo_n "checking for $ac_word... " >&6; }
11271 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11272 $as_echo_n "(cached) " >&6
11274 case $aros_kernel_nm in
11276 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11280 for as_dir
in $PATH
11283 test -z "$as_dir" && as_dir
=.
11284 for ac_exec_ext
in '' $ac_executable_extensions; do
11285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11286 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11297 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11298 if test -n "$aros_kernel_nm"; then
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11300 $as_echo "$aros_kernel_nm" >&6; }
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11303 $as_echo "no" >&6; }
11309 if test "" = ""; then
11314 if test "$GCC" = "yes"; then
11315 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
11316 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
11317 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11319 $as_echo_n "checking for $ac_word... " >&6; }
11320 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11321 $as_echo_n "(cached) " >&6
11323 case $aros_kernel_nm in
11325 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11329 for as_dir
in `dirname $aros_gcc_nm`
11332 test -z "$as_dir" && as_dir
=.
11333 for ac_exec_ext
in '' $ac_executable_extensions; do
11334 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11335 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11346 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11347 if test -n "$aros_kernel_nm"; then
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11349 $as_echo "$aros_kernel_nm" >&6; }
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11352 $as_echo "no" >&6; }
11357 if test "$aros_kernel_nm" = ""; then
11358 for ac_prog
in $ac_tool_nm
11360 # Extract the first word of "$ac_prog", so it can be a program name with args.
11361 set dummy
$ac_prog; ac_word
=$2
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11363 $as_echo_n "checking for $ac_word... " >&6; }
11364 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11365 $as_echo_n "(cached) " >&6
11367 case $aros_kernel_nm in
11369 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11373 for as_dir
in $PATH
11376 test -z "$as_dir" && as_dir
=.
11377 for ac_exec_ext
in '' $ac_executable_extensions; do
11378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11379 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11390 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11391 if test -n "$aros_kernel_nm"; then
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11393 $as_echo "$aros_kernel_nm" >&6; }
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11396 $as_echo "no" >&6; }
11400 test -n "$aros_kernel_nm" && break
11407 ac_tool_optarg
=`expr "X$aros_kernel_nm" : '[^ ]* \(.*\)'`
11408 # Extract the first word of "$aros_kernel_nm", so it can be a program name with args.
11409 set dummy
$aros_kernel_nm; ac_word
=$2
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11411 $as_echo_n "checking for $ac_word... " >&6; }
11412 if ${ac_cv_path_aros_kernel_nm+:} false
; then :
11413 $as_echo_n "(cached) " >&6
11415 case $aros_kernel_nm in
11417 ac_cv_path_aros_kernel_nm
="$aros_kernel_nm" # Let the user override the test with a path.
11420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11421 for as_dir
in $PATH
11424 test -z "$as_dir" && as_dir
=.
11425 for ac_exec_ext
in '' $ac_executable_extensions; do
11426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11427 ac_cv_path_aros_kernel_nm
="$as_dir/$ac_word$ac_exec_ext"
11428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11438 aros_kernel_nm
=$ac_cv_path_aros_kernel_nm
11439 if test -n "$aros_kernel_nm"; then
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_nm" >&5
11441 $as_echo "$aros_kernel_nm" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11444 $as_echo "no" >&6; }
11448 aros_kernel_nm
="$aros_kernel_nm $ac_tool_optarg"
11452 if test "$aros_kernel_nm" = ""; then
11455 if test "$aros_kernel_nm" = "no"; then
11458 if test "$req_avail" = "no"; then
11459 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
11462 if test "$aros_kernel_strip" = ""; then
11463 if test "$cross_compiling" = "yes" ; then
11464 # Extract the first word of "${kernel_tool_prefix}strip", so it can be a program name with args.
11465 set dummy
${kernel_tool_prefix}strip
; ac_word
=$2
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11467 $as_echo_n "checking for $ac_word... " >&6; }
11468 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11469 $as_echo_n "(cached) " >&6
11471 case $aros_kernel_strip in
11473 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11477 for as_dir
in $PATH
11480 test -z "$as_dir" && as_dir
=.
11481 for ac_exec_ext
in '' $ac_executable_extensions; do
11482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11483 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11494 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11495 if test -n "$aros_kernel_strip"; then
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11497 $as_echo "$aros_kernel_strip" >&6; }
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11500 $as_echo "no" >&6; }
11506 if test "" = ""; then
11507 ac_tool_strip
=strip
11511 if test "$GCC" = "yes"; then
11512 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
11513 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11514 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11516 $as_echo_n "checking for $ac_word... " >&6; }
11517 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11518 $as_echo_n "(cached) " >&6
11520 case $aros_kernel_strip in
11522 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11526 for as_dir
in `dirname $aros_gcc_strip`
11529 test -z "$as_dir" && as_dir
=.
11530 for ac_exec_ext
in '' $ac_executable_extensions; do
11531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11532 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11543 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11544 if test -n "$aros_kernel_strip"; then
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11546 $as_echo "$aros_kernel_strip" >&6; }
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11549 $as_echo "no" >&6; }
11554 if test "$aros_kernel_strip" = ""; then
11555 for ac_prog
in $ac_tool_strip
11557 # Extract the first word of "$ac_prog", so it can be a program name with args.
11558 set dummy
$ac_prog; ac_word
=$2
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11560 $as_echo_n "checking for $ac_word... " >&6; }
11561 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11562 $as_echo_n "(cached) " >&6
11564 case $aros_kernel_strip in
11566 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11570 for as_dir
in $PATH
11573 test -z "$as_dir" && as_dir
=.
11574 for ac_exec_ext
in '' $ac_executable_extensions; do
11575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11576 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11587 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11588 if test -n "$aros_kernel_strip"; then
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11590 $as_echo "$aros_kernel_strip" >&6; }
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11593 $as_echo "no" >&6; }
11597 test -n "$aros_kernel_strip" && break
11604 ac_tool_optarg
=`expr "X$aros_kernel_strip" : '[^ ]* \(.*\)'`
11605 # Extract the first word of "$aros_kernel_strip", so it can be a program name with args.
11606 set dummy
$aros_kernel_strip; ac_word
=$2
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11608 $as_echo_n "checking for $ac_word... " >&6; }
11609 if ${ac_cv_path_aros_kernel_strip+:} false
; then :
11610 $as_echo_n "(cached) " >&6
11612 case $aros_kernel_strip in
11614 ac_cv_path_aros_kernel_strip
="$aros_kernel_strip" # Let the user override the test with a path.
11617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11618 for as_dir
in $PATH
11621 test -z "$as_dir" && as_dir
=.
11622 for ac_exec_ext
in '' $ac_executable_extensions; do
11623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11624 ac_cv_path_aros_kernel_strip
="$as_dir/$ac_word$ac_exec_ext"
11625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11635 aros_kernel_strip
=$ac_cv_path_aros_kernel_strip
11636 if test -n "$aros_kernel_strip"; then
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_strip" >&5
11638 $as_echo "$aros_kernel_strip" >&6; }
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11641 $as_echo "no" >&6; }
11645 aros_kernel_strip
="$aros_kernel_strip $ac_tool_optarg"
11649 if test "$aros_kernel_strip" = ""; then
11652 if test "$aros_kernel_strip" = "no"; then
11655 if test "$req_avail" = "no"; then
11656 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
11659 # Objcopy and objdump are not required for the kernel
11660 # toolchain on many architectures.
11661 # So we'll look for them, but not make them strictly required.
11662 if test "x$aros_kernel_objcopy" = "x"; then
11663 aros_kernel_objcopy
=$aros_host_objcopy
11664 if test "x$aros_kernel_objcopy" = "x"; then
11665 aros_kernel_objcopy
=${HOST_TOOLCHAIN_PREFIX}objcopy
${HOST_TOOLCHAIN_SUFFIX}
11669 if test "$aros_kernel_objcopy" = ""; then
11670 if test "$cross_compiling" = "yes" ; then
11671 # Extract the first word of "${kernel_tool_prefix}objcopy", so it can be a program name with args.
11672 set dummy
${kernel_tool_prefix}objcopy
; ac_word
=$2
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11674 $as_echo_n "checking for $ac_word... " >&6; }
11675 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11676 $as_echo_n "(cached) " >&6
11678 case $aros_kernel_objcopy in
11680 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11684 for as_dir
in $PATH
11687 test -z "$as_dir" && as_dir
=.
11688 for ac_exec_ext
in '' $ac_executable_extensions; do
11689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11690 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11701 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11702 if test -n "$aros_kernel_objcopy"; then
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11704 $as_echo "$aros_kernel_objcopy" >&6; }
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11707 $as_echo "no" >&6; }
11713 if test "" = ""; then
11714 ac_tool_objcopy
=objcopy
11718 if test "$GCC" = "yes"; then
11719 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
11720 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
11721 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11723 $as_echo_n "checking for $ac_word... " >&6; }
11724 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11725 $as_echo_n "(cached) " >&6
11727 case $aros_kernel_objcopy in
11729 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11733 for as_dir
in `dirname $aros_gcc_objcopy`
11736 test -z "$as_dir" && as_dir
=.
11737 for ac_exec_ext
in '' $ac_executable_extensions; do
11738 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11739 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11750 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11751 if test -n "$aros_kernel_objcopy"; then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11753 $as_echo "$aros_kernel_objcopy" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11756 $as_echo "no" >&6; }
11761 if test "$aros_kernel_objcopy" = ""; then
11762 for ac_prog
in $ac_tool_objcopy
11764 # Extract the first word of "$ac_prog", so it can be a program name with args.
11765 set dummy
$ac_prog; ac_word
=$2
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11767 $as_echo_n "checking for $ac_word... " >&6; }
11768 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11769 $as_echo_n "(cached) " >&6
11771 case $aros_kernel_objcopy in
11773 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11777 for as_dir
in $PATH
11780 test -z "$as_dir" && as_dir
=.
11781 for ac_exec_ext
in '' $ac_executable_extensions; do
11782 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11783 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11794 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11795 if test -n "$aros_kernel_objcopy"; then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11797 $as_echo "$aros_kernel_objcopy" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11800 $as_echo "no" >&6; }
11804 test -n "$aros_kernel_objcopy" && break
11811 ac_tool_optarg
=`expr "X$aros_kernel_objcopy" : '[^ ]* \(.*\)'`
11812 # Extract the first word of "$aros_kernel_objcopy", so it can be a program name with args.
11813 set dummy
$aros_kernel_objcopy; ac_word
=$2
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11815 $as_echo_n "checking for $ac_word... " >&6; }
11816 if ${ac_cv_path_aros_kernel_objcopy+:} false
; then :
11817 $as_echo_n "(cached) " >&6
11819 case $aros_kernel_objcopy in
11821 ac_cv_path_aros_kernel_objcopy
="$aros_kernel_objcopy" # Let the user override the test with a path.
11824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11825 for as_dir
in $PATH
11828 test -z "$as_dir" && as_dir
=.
11829 for ac_exec_ext
in '' $ac_executable_extensions; do
11830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11831 ac_cv_path_aros_kernel_objcopy
="$as_dir/$ac_word$ac_exec_ext"
11832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11842 aros_kernel_objcopy
=$ac_cv_path_aros_kernel_objcopy
11843 if test -n "$aros_kernel_objcopy"; then
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objcopy" >&5
11845 $as_echo "$aros_kernel_objcopy" >&6; }
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848 $as_echo "no" >&6; }
11852 aros_kernel_objcopy
="$aros_kernel_objcopy $ac_tool_optarg"
11855 if test "x$aros_kernel_objdump" = "x"; then
11856 aros_kernel_objdump
=$aros_host_objdump
11857 if test "x$aros_kernel_objdump" = "x"; then
11858 aros_kernel_objdump
=${HOST_TOOLCHAIN_PREFIX}objdump
${HOST_TOOLCHAIN_SUFFIX}
11862 if test "$aros_kernel_objdump" = ""; then
11863 if test "$cross_compiling" = "yes" ; then
11864 # Extract the first word of "${kernel_tool_prefix}objdump", so it can be a program name with args.
11865 set dummy
${kernel_tool_prefix}objdump
; ac_word
=$2
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867 $as_echo_n "checking for $ac_word... " >&6; }
11868 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11869 $as_echo_n "(cached) " >&6
11871 case $aros_kernel_objdump in
11873 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11877 for as_dir
in $PATH
11880 test -z "$as_dir" && as_dir
=.
11881 for ac_exec_ext
in '' $ac_executable_extensions; do
11882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11883 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11894 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11895 if test -n "$aros_kernel_objdump"; then
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11897 $as_echo "$aros_kernel_objdump" >&6; }
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 $as_echo "no" >&6; }
11906 if test "" = ""; then
11907 ac_tool_objdump
=objdump
11911 if test "$GCC" = "yes"; then
11912 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
11913 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
11914 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11916 $as_echo_n "checking for $ac_word... " >&6; }
11917 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11918 $as_echo_n "(cached) " >&6
11920 case $aros_kernel_objdump in
11922 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11926 for as_dir
in `dirname $aros_gcc_objdump`
11929 test -z "$as_dir" && as_dir
=.
11930 for ac_exec_ext
in '' $ac_executable_extensions; do
11931 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11932 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11943 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11944 if test -n "$aros_kernel_objdump"; then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11946 $as_echo "$aros_kernel_objdump" >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11949 $as_echo "no" >&6; }
11954 if test "$aros_kernel_objdump" = ""; then
11955 for ac_prog
in $ac_tool_objdump
11957 # Extract the first word of "$ac_prog", so it can be a program name with args.
11958 set dummy
$ac_prog; ac_word
=$2
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11960 $as_echo_n "checking for $ac_word... " >&6; }
11961 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
11962 $as_echo_n "(cached) " >&6
11964 case $aros_kernel_objdump in
11966 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
11969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11970 for as_dir
in $PATH
11973 test -z "$as_dir" && as_dir
=.
11974 for ac_exec_ext
in '' $ac_executable_extensions; do
11975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11976 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
11977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11987 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
11988 if test -n "$aros_kernel_objdump"; then
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
11990 $as_echo "$aros_kernel_objdump" >&6; }
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11993 $as_echo "no" >&6; }
11997 test -n "$aros_kernel_objdump" && break
12004 ac_tool_optarg
=`expr "X$aros_kernel_objdump" : '[^ ]* \(.*\)'`
12005 # Extract the first word of "$aros_kernel_objdump", so it can be a program name with args.
12006 set dummy
$aros_kernel_objdump; ac_word
=$2
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12008 $as_echo_n "checking for $ac_word... " >&6; }
12009 if ${ac_cv_path_aros_kernel_objdump+:} false
; then :
12010 $as_echo_n "(cached) " >&6
12012 case $aros_kernel_objdump in
12014 ac_cv_path_aros_kernel_objdump
="$aros_kernel_objdump" # Let the user override the test with a path.
12017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12018 for as_dir
in $PATH
12021 test -z "$as_dir" && as_dir
=.
12022 for ac_exec_ext
in '' $ac_executable_extensions; do
12023 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12024 ac_cv_path_aros_kernel_objdump
="$as_dir/$ac_word$ac_exec_ext"
12025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12035 aros_kernel_objdump
=$ac_cv_path_aros_kernel_objdump
12036 if test -n "$aros_kernel_objdump"; then
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_objdump" >&5
12038 $as_echo "$aros_kernel_objdump" >&6; }
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041 $as_echo "no" >&6; }
12045 aros_kernel_objdump
="$aros_kernel_objdump $ac_tool_optarg"
12048 if test "x${crosstools}" != "xyes" ; then
12050 if test "$aros_kernel_objcopy" = ""; then
12053 if test "$aros_kernel_objcopy" = "no"; then
12056 if test "$req_avail" = "no"; then
12057 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
12060 if test "$aros_kernel_objdump" = ""; then
12063 if test "$aros_kernel_objdump" = "no"; then
12066 if test "$req_avail" = "no"; then
12067 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which target tools to use" >&5
12074 $as_echo_n "checking which target tools to use... " >&6; }
12075 if test "$aros_target_toolchain" = "yes"; then
12076 if test "$aros_toolchain" = "llvm" ; then
12079 msg_result
=$target_tool_prefix
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg_result" >&5
12082 $as_echo "$msg_result" >&6; }
12083 # We are building AROS crosstools
12084 tmp_tool_prefix
="$AROS_CROSSTOOLSDIR/${target_tool_prefix}"
12085 orig_target_cc
="${tmp_tool_prefix}${toolchain_c_compiler}${target_tool_version}"
12086 orig_target_cxx
="${tmp_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}"
12087 orig_target_cpp
="${tmp_tool_prefix}${toolchain_cpp_preprocessor}"
12088 orig_target_ld
="${tmp_tool_prefix}${toolchain_ld}"
12089 orig_target_as
="${tmp_tool_prefix}${toolchain_as}"
12090 orig_target_ar
="${tmp_tool_prefix}${toolchain_ar}"
12091 orig_target_ranlib
="${tmp_tool_prefix}${toolchain_ranlib}"
12092 orig_target_nm
="${tmp_tool_prefix}${toolchain_nm}"
12093 orig_target_strip
="${tmp_tool_prefix}${toolchain_strip}"
12094 orig_target_objcopy
="${tmp_tool_prefix}${toolchain_objcopy}"
12095 orig_target_objdump
="${tmp_tool_prefix}${toolchain_objdump}"
12097 # Determine whether AROS or ELF tools should be used
12098 if test "$aros_tool_prefix" = "none"; then
12099 aros_tool_prefix
="${elf_tool_prefix}"
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_tool_prefix" >&5
12103 $as_echo "$aros_tool_prefix" >&6; }
12104 # We are *not* building AROS crosstools - use the AROS or ELF tools
12106 if test "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" = ""; then
12107 if test "$cross_compiling" = "yes" ; then
12108 # Extract the first word of "${target_tool_prefix}cpp", so it can be a program name with args.
12109 set dummy
${target_tool_prefix}cpp
; ac_word
=$2
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12111 $as_echo_n "checking for $ac_word... " >&6; }
12112 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12113 $as_echo_n "(cached) " >&6
12115 case $orig_target_cpp in
12117 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12121 for as_dir
in $PATH
12124 test -z "$as_dir" && as_dir
=.
12125 for ac_exec_ext
in '' $ac_executable_extensions; do
12126 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12127 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12138 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12139 if test -n "$orig_target_cpp"; then
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12141 $as_echo "$orig_target_cpp" >&6; }
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12144 $as_echo "no" >&6; }
12150 if test "" = ""; then
12155 if test "$GCC" = "yes"; then
12156 aros_gcc_cpp
=`$CC -print-prog-name=$ac_tool_cpp`
12157 # Extract the first word of "`basename $aros_gcc_[cpp]`", so it can be a program name with args.
12158 set dummy
`basename $aros_gcc_cpp`; ac_word
=$2
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12160 $as_echo_n "checking for $ac_word... " >&6; }
12161 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12162 $as_echo_n "(cached) " >&6
12164 case $orig_target_cpp in
12166 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12170 for as_dir
in `dirname $aros_gcc_cpp`
12173 test -z "$as_dir" && as_dir
=.
12174 for ac_exec_ext
in '' $ac_executable_extensions; do
12175 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12176 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12187 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12188 if test -n "$orig_target_cpp"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12190 $as_echo "$orig_target_cpp" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12198 if test "$orig_target_cpp" = ""; then
12199 for ac_prog
in $ac_tool_cpp
12201 # Extract the first word of "$ac_prog", so it can be a program name with args.
12202 set dummy
$ac_prog; ac_word
=$2
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12204 $as_echo_n "checking for $ac_word... " >&6; }
12205 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12206 $as_echo_n "(cached) " >&6
12208 case $orig_target_cpp in
12210 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12214 for as_dir
in $PATH
12217 test -z "$as_dir" && as_dir
=.
12218 for ac_exec_ext
in '' $ac_executable_extensions; do
12219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12220 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12231 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12232 if test -n "$orig_target_cpp"; then
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12234 $as_echo "$orig_target_cpp" >&6; }
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12237 $as_echo "no" >&6; }
12241 test -n "$orig_target_cpp" && break
12248 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}" : '[^ ]* \(.*\)'`
12249 # Extract the first word of "${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}", so it can be a program name with args.
12250 set dummy
${aros_tool_prefix}${toolchain_cpp_preprocessor}${target_tool_version}; ac_word
=$2
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12252 $as_echo_n "checking for $ac_word... " >&6; }
12253 if ${ac_cv_path_orig_target_cpp+:} false
; then :
12254 $as_echo_n "(cached) " >&6
12256 case $orig_target_cpp in
12258 ac_cv_path_orig_target_cpp
="$orig_target_cpp" # Let the user override the test with a path.
12261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12262 for as_dir
in $PATH
12265 test -z "$as_dir" && as_dir
=.
12266 for ac_exec_ext
in '' $ac_executable_extensions; do
12267 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12268 ac_cv_path_orig_target_cpp
="$as_dir/$ac_word$ac_exec_ext"
12269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12279 orig_target_cpp
=$ac_cv_path_orig_target_cpp
12280 if test -n "$orig_target_cpp"; then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cpp" >&5
12282 $as_echo "$orig_target_cpp" >&6; }
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12285 $as_echo "no" >&6; }
12289 orig_target_cpp
="$orig_target_cpp $ac_tool_optarg"
12293 if test "$orig_target_cpp" = ""; then
12296 if test "$orig_target_cpp" = "no"; then
12299 if test "$req_avail" = "no"; then
12300 as_fn_error $?
"cpp is required to build AROS. Please install and run configure again." "$LINENO" 5
12303 if test "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" = ""; then
12304 if test "$cross_compiling" = "yes" ; then
12305 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12306 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12308 $as_echo_n "checking for $ac_word... " >&6; }
12309 if ${ac_cv_path_orig_target_cc+:} false
; then :
12310 $as_echo_n "(cached) " >&6
12312 case $orig_target_cc in
12314 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12318 for as_dir
in $PATH
12321 test -z "$as_dir" && as_dir
=.
12322 for ac_exec_ext
in '' $ac_executable_extensions; do
12323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12324 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12335 orig_target_cc
=$ac_cv_path_orig_target_cc
12336 if test -n "$orig_target_cc"; then
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12338 $as_echo "$orig_target_cc" >&6; }
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12341 $as_echo "no" >&6; }
12347 if test "" = ""; then
12352 if test "$GCC" = "yes"; then
12353 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12354 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12355 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12357 $as_echo_n "checking for $ac_word... " >&6; }
12358 if ${ac_cv_path_orig_target_cc+:} false
; then :
12359 $as_echo_n "(cached) " >&6
12361 case $orig_target_cc in
12363 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12367 for as_dir
in `dirname $aros_gcc_gcc`
12370 test -z "$as_dir" && as_dir
=.
12371 for ac_exec_ext
in '' $ac_executable_extensions; do
12372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12373 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12384 orig_target_cc
=$ac_cv_path_orig_target_cc
12385 if test -n "$orig_target_cc"; then
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12387 $as_echo "$orig_target_cc" >&6; }
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12390 $as_echo "no" >&6; }
12395 if test "$orig_target_cc" = ""; then
12396 for ac_prog
in $ac_tool_gcc
12398 # Extract the first word of "$ac_prog", so it can be a program name with args.
12399 set dummy
$ac_prog; ac_word
=$2
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12401 $as_echo_n "checking for $ac_word... " >&6; }
12402 if ${ac_cv_path_orig_target_cc+:} false
; then :
12403 $as_echo_n "(cached) " >&6
12405 case $orig_target_cc in
12407 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12411 for as_dir
in $PATH
12414 test -z "$as_dir" && as_dir
=.
12415 for ac_exec_ext
in '' $ac_executable_extensions; do
12416 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12417 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12428 orig_target_cc
=$ac_cv_path_orig_target_cc
12429 if test -n "$orig_target_cc"; then
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12431 $as_echo "$orig_target_cc" >&6; }
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12434 $as_echo "no" >&6; }
12438 test -n "$orig_target_cc" && break
12445 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12446 # Extract the first word of "${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}", so it can be a program name with args.
12447 set dummy
${aros_tool_prefix}${toolchain_c_compiler}${target_tool_version}; ac_word
=$2
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12449 $as_echo_n "checking for $ac_word... " >&6; }
12450 if ${ac_cv_path_orig_target_cc+:} false
; then :
12451 $as_echo_n "(cached) " >&6
12453 case $orig_target_cc in
12455 ac_cv_path_orig_target_cc
="$orig_target_cc" # Let the user override the test with a path.
12458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12459 for as_dir
in $PATH
12462 test -z "$as_dir" && as_dir
=.
12463 for ac_exec_ext
in '' $ac_executable_extensions; do
12464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12465 ac_cv_path_orig_target_cc
="$as_dir/$ac_word$ac_exec_ext"
12466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12476 orig_target_cc
=$ac_cv_path_orig_target_cc
12477 if test -n "$orig_target_cc"; then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cc" >&5
12479 $as_echo "$orig_target_cc" >&6; }
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12482 $as_echo "no" >&6; }
12486 orig_target_cc
="$orig_target_cc $ac_tool_optarg"
12490 if test "$orig_target_cc" = ""; then
12493 if test "$orig_target_cc" = "no"; then
12496 if test "$req_avail" = "no"; then
12497 as_fn_error $?
"cc is required to build AROS. Please install and run configure again." "$LINENO" 5
12500 if test "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" = ""; then
12501 if test "$cross_compiling" = "yes" ; then
12502 # Extract the first word of "${target_tool_prefix}g++", so it can be a program name with args.
12503 set dummy
${target_tool_prefix}g
++; ac_word
=$2
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12505 $as_echo_n "checking for $ac_word... " >&6; }
12506 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12507 $as_echo_n "(cached) " >&6
12509 case $orig_target_cxx in
12511 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12515 for as_dir
in $PATH
12518 test -z "$as_dir" && as_dir
=.
12519 for ac_exec_ext
in '' $ac_executable_extensions; do
12520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12521 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12532 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12533 if test -n "$orig_target_cxx"; then
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12535 $as_echo "$orig_target_cxx" >&6; }
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12538 $as_echo "no" >&6; }
12544 if test "" = ""; then
12549 if test "$GCC" = "yes"; then
12550 aros_gcc_g
++=`$CC -print-prog-name=$ac_tool_g++`
12551 # Extract the first word of "`basename $aros_gcc_[g++]`", so it can be a program name with args.
12552 set dummy
`basename $aros_gcc_g++`; ac_word
=$2
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12554 $as_echo_n "checking for $ac_word... " >&6; }
12555 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12556 $as_echo_n "(cached) " >&6
12558 case $orig_target_cxx in
12560 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12564 for as_dir
in `dirname $aros_gcc_g++`
12567 test -z "$as_dir" && as_dir
=.
12568 for ac_exec_ext
in '' $ac_executable_extensions; do
12569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12570 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12581 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12582 if test -n "$orig_target_cxx"; then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12584 $as_echo "$orig_target_cxx" >&6; }
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12587 $as_echo "no" >&6; }
12592 if test "$orig_target_cxx" = ""; then
12593 for ac_prog
in $ac_tool_g++
12595 # Extract the first word of "$ac_prog", so it can be a program name with args.
12596 set dummy
$ac_prog; ac_word
=$2
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12598 $as_echo_n "checking for $ac_word... " >&6; }
12599 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12600 $as_echo_n "(cached) " >&6
12602 case $orig_target_cxx in
12604 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12608 for as_dir
in $PATH
12611 test -z "$as_dir" && as_dir
=.
12612 for ac_exec_ext
in '' $ac_executable_extensions; do
12613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12614 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12625 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12626 if test -n "$orig_target_cxx"; then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12628 $as_echo "$orig_target_cxx" >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12631 $as_echo "no" >&6; }
12635 test -n "$orig_target_cxx" && break
12642 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}" : '[^ ]* \(.*\)'`
12643 # Extract the first word of "${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}", so it can be a program name with args.
12644 set dummy
${aros_tool_prefix}${toolchain_cxx_compiler}${target_tool_version}; ac_word
=$2
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12646 $as_echo_n "checking for $ac_word... " >&6; }
12647 if ${ac_cv_path_orig_target_cxx+:} false
; then :
12648 $as_echo_n "(cached) " >&6
12650 case $orig_target_cxx in
12652 ac_cv_path_orig_target_cxx
="$orig_target_cxx" # Let the user override the test with a path.
12655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12656 for as_dir
in $PATH
12659 test -z "$as_dir" && as_dir
=.
12660 for ac_exec_ext
in '' $ac_executable_extensions; do
12661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12662 ac_cv_path_orig_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
12663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12673 orig_target_cxx
=$ac_cv_path_orig_target_cxx
12674 if test -n "$orig_target_cxx"; then
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_cxx" >&5
12676 $as_echo "$orig_target_cxx" >&6; }
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12679 $as_echo "no" >&6; }
12683 orig_target_cxx
="$orig_target_cxx $ac_tool_optarg"
12687 if test "$orig_target_cxx" = ""; then
12690 if test "$orig_target_cxx" = "no"; then
12693 if test "$req_avail" = "no"; then
12694 as_fn_error $?
"cxx is required to build AROS. Please install and run configure again." "$LINENO" 5
12697 if test "${aros_tool_prefix}${toolchain_ld}" = ""; then
12698 if test "$cross_compiling" = "yes" ; then
12699 # Extract the first word of "${target_tool_prefix}gcc", so it can be a program name with args.
12700 set dummy
${target_tool_prefix}gcc
; ac_word
=$2
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12702 $as_echo_n "checking for $ac_word... " >&6; }
12703 if ${ac_cv_path_orig_target_ld+:} false
; then :
12704 $as_echo_n "(cached) " >&6
12706 case $orig_target_ld in
12708 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12712 for as_dir
in $PATH
12715 test -z "$as_dir" && as_dir
=.
12716 for ac_exec_ext
in '' $ac_executable_extensions; do
12717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12718 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12729 orig_target_ld
=$ac_cv_path_orig_target_ld
12730 if test -n "$orig_target_ld"; then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12732 $as_echo "$orig_target_ld" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12735 $as_echo "no" >&6; }
12741 if test "" = ""; then
12746 if test "$GCC" = "yes"; then
12747 aros_gcc_gcc
=`$CC -print-prog-name=$ac_tool_gcc`
12748 # Extract the first word of "`basename $aros_gcc_[gcc]`", so it can be a program name with args.
12749 set dummy
`basename $aros_gcc_gcc`; ac_word
=$2
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12751 $as_echo_n "checking for $ac_word... " >&6; }
12752 if ${ac_cv_path_orig_target_ld+:} false
; then :
12753 $as_echo_n "(cached) " >&6
12755 case $orig_target_ld in
12757 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12761 for as_dir
in `dirname $aros_gcc_gcc`
12764 test -z "$as_dir" && as_dir
=.
12765 for ac_exec_ext
in '' $ac_executable_extensions; do
12766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12767 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12778 orig_target_ld
=$ac_cv_path_orig_target_ld
12779 if test -n "$orig_target_ld"; then
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12781 $as_echo "$orig_target_ld" >&6; }
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12784 $as_echo "no" >&6; }
12789 if test "$orig_target_ld" = ""; then
12790 for ac_prog
in $ac_tool_gcc
12792 # Extract the first word of "$ac_prog", so it can be a program name with args.
12793 set dummy
$ac_prog; ac_word
=$2
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12795 $as_echo_n "checking for $ac_word... " >&6; }
12796 if ${ac_cv_path_orig_target_ld+:} false
; then :
12797 $as_echo_n "(cached) " >&6
12799 case $orig_target_ld in
12801 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12805 for as_dir
in $PATH
12808 test -z "$as_dir" && as_dir
=.
12809 for ac_exec_ext
in '' $ac_executable_extensions; do
12810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12811 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12822 orig_target_ld
=$ac_cv_path_orig_target_ld
12823 if test -n "$orig_target_ld"; then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12825 $as_echo "$orig_target_ld" >&6; }
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12828 $as_echo "no" >&6; }
12832 test -n "$orig_target_ld" && break
12839 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ld}" : '[^ ]* \(.*\)'`
12840 # Extract the first word of "${aros_tool_prefix}${toolchain_ld}", so it can be a program name with args.
12841 set dummy
${aros_tool_prefix}${toolchain_ld}; ac_word
=$2
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12843 $as_echo_n "checking for $ac_word... " >&6; }
12844 if ${ac_cv_path_orig_target_ld+:} false
; then :
12845 $as_echo_n "(cached) " >&6
12847 case $orig_target_ld in
12849 ac_cv_path_orig_target_ld
="$orig_target_ld" # Let the user override the test with a path.
12852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12853 for as_dir
in $PATH
12856 test -z "$as_dir" && as_dir
=.
12857 for ac_exec_ext
in '' $ac_executable_extensions; do
12858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12859 ac_cv_path_orig_target_ld
="$as_dir/$ac_word$ac_exec_ext"
12860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12870 orig_target_ld
=$ac_cv_path_orig_target_ld
12871 if test -n "$orig_target_ld"; then
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ld" >&5
12873 $as_echo "$orig_target_ld" >&6; }
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12876 $as_echo "no" >&6; }
12880 orig_target_ld
="$orig_target_ld $ac_tool_optarg"
12884 if test "$orig_target_ld" = ""; then
12887 if test "$orig_target_ld" = "no"; then
12890 if test "$req_avail" = "no"; then
12891 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
12894 if test "aros_tool_prefix}${toolchain_as}" = ""; then
12895 if test "$cross_compiling" = "yes" ; then
12896 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
12897 set dummy
${target_tool_prefix}as
; ac_word
=$2
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12899 $as_echo_n "checking for $ac_word... " >&6; }
12900 if ${ac_cv_path_orig_target_as+:} false
; then :
12901 $as_echo_n "(cached) " >&6
12903 case $orig_target_as in
12905 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12909 for as_dir
in $PATH
12912 test -z "$as_dir" && as_dir
=.
12913 for ac_exec_ext
in '' $ac_executable_extensions; do
12914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12915 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12926 orig_target_as
=$ac_cv_path_orig_target_as
12927 if test -n "$orig_target_as"; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12929 $as_echo "$orig_target_as" >&6; }
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12932 $as_echo "no" >&6; }
12938 if test "" = ""; then
12943 if test "$GCC" = "yes"; then
12944 aros_gcc_as
=`$CC -print-prog-name=$ac_tool_as`
12945 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
12946 set dummy
`basename $aros_gcc_as`; ac_word
=$2
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12948 $as_echo_n "checking for $ac_word... " >&6; }
12949 if ${ac_cv_path_orig_target_as+:} false
; then :
12950 $as_echo_n "(cached) " >&6
12952 case $orig_target_as in
12954 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
12957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12958 for as_dir
in `dirname $aros_gcc_as`
12961 test -z "$as_dir" && as_dir
=.
12962 for ac_exec_ext
in '' $ac_executable_extensions; do
12963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12964 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
12965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12975 orig_target_as
=$ac_cv_path_orig_target_as
12976 if test -n "$orig_target_as"; then
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
12978 $as_echo "$orig_target_as" >&6; }
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12981 $as_echo "no" >&6; }
12986 if test "$orig_target_as" = ""; then
12987 for ac_prog
in $ac_tool_as
12989 # Extract the first word of "$ac_prog", so it can be a program name with args.
12990 set dummy
$ac_prog; ac_word
=$2
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12992 $as_echo_n "checking for $ac_word... " >&6; }
12993 if ${ac_cv_path_orig_target_as+:} false
; then :
12994 $as_echo_n "(cached) " >&6
12996 case $orig_target_as in
12998 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13002 for as_dir
in $PATH
13005 test -z "$as_dir" && as_dir
=.
13006 for ac_exec_ext
in '' $ac_executable_extensions; do
13007 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13008 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13019 orig_target_as
=$ac_cv_path_orig_target_as
13020 if test -n "$orig_target_as"; then
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13022 $as_echo "$orig_target_as" >&6; }
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13025 $as_echo "no" >&6; }
13029 test -n "$orig_target_as" && break
13036 ac_tool_optarg
=`expr "Xaros_tool_prefix}${toolchain_as}" : '[^ ]* \(.*\)'`
13037 # Extract the first word of "aros_tool_prefix}${toolchain_as}", so it can be a program name with args.
13038 set dummy aros_tool_prefix
}${toolchain_as}; ac_word
=$2
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13040 $as_echo_n "checking for $ac_word... " >&6; }
13041 if ${ac_cv_path_orig_target_as+:} false
; then :
13042 $as_echo_n "(cached) " >&6
13044 case $orig_target_as in
13046 ac_cv_path_orig_target_as
="$orig_target_as" # Let the user override the test with a path.
13049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13050 for as_dir
in $PATH
13053 test -z "$as_dir" && as_dir
=.
13054 for ac_exec_ext
in '' $ac_executable_extensions; do
13055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13056 ac_cv_path_orig_target_as
="$as_dir/$ac_word$ac_exec_ext"
13057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13067 orig_target_as
=$ac_cv_path_orig_target_as
13068 if test -n "$orig_target_as"; then
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_as" >&5
13070 $as_echo "$orig_target_as" >&6; }
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13073 $as_echo "no" >&6; }
13077 orig_target_as
="$orig_target_as $ac_tool_optarg"
13081 if test "$orig_target_as" = ""; then
13084 if test "$orig_target_as" = "no"; then
13087 if test "$req_avail" = "no"; then
13088 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
13091 if test "${aros_tool_prefix}${toolchain_ar}" = ""; then
13092 if test "$cross_compiling" = "yes" ; then
13093 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13094 set dummy
${target_tool_prefix}ar; ac_word
=$2
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13096 $as_echo_n "checking for $ac_word... " >&6; }
13097 if ${ac_cv_path_orig_target_ar+:} false
; then :
13098 $as_echo_n "(cached) " >&6
13100 case $orig_target_ar in
13102 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13106 for as_dir
in $PATH
13109 test -z "$as_dir" && as_dir
=.
13110 for ac_exec_ext
in '' $ac_executable_extensions; do
13111 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13112 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13123 orig_target_ar
=$ac_cv_path_orig_target_ar
13124 if test -n "$orig_target_ar"; then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13126 $as_echo "$orig_target_ar" >&6; }
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13129 $as_echo "no" >&6; }
13135 if test "" = ""; then
13140 if test "$GCC" = "yes"; then
13141 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13142 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13143 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13145 $as_echo_n "checking for $ac_word... " >&6; }
13146 if ${ac_cv_path_orig_target_ar+:} false
; then :
13147 $as_echo_n "(cached) " >&6
13149 case $orig_target_ar in
13151 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13155 for as_dir
in `dirname $aros_gcc_ar`
13158 test -z "$as_dir" && as_dir
=.
13159 for ac_exec_ext
in '' $ac_executable_extensions; do
13160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13161 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13172 orig_target_ar
=$ac_cv_path_orig_target_ar
13173 if test -n "$orig_target_ar"; then
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13175 $as_echo "$orig_target_ar" >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13183 if test "$orig_target_ar" = ""; then
13184 for ac_prog
in $ac_tool_ar
13186 # Extract the first word of "$ac_prog", so it can be a program name with args.
13187 set dummy
$ac_prog; ac_word
=$2
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13189 $as_echo_n "checking for $ac_word... " >&6; }
13190 if ${ac_cv_path_orig_target_ar+:} false
; then :
13191 $as_echo_n "(cached) " >&6
13193 case $orig_target_ar in
13195 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13199 for as_dir
in $PATH
13202 test -z "$as_dir" && as_dir
=.
13203 for ac_exec_ext
in '' $ac_executable_extensions; do
13204 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13205 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13216 orig_target_ar
=$ac_cv_path_orig_target_ar
13217 if test -n "$orig_target_ar"; then
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13219 $as_echo "$orig_target_ar" >&6; }
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13222 $as_echo "no" >&6; }
13226 test -n "$orig_target_ar" && break
13233 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ar}" : '[^ ]* \(.*\)'`
13234 # Extract the first word of "${aros_tool_prefix}${toolchain_ar}", so it can be a program name with args.
13235 set dummy
${aros_tool_prefix}${toolchain_ar}; ac_word
=$2
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13237 $as_echo_n "checking for $ac_word... " >&6; }
13238 if ${ac_cv_path_orig_target_ar+:} false
; then :
13239 $as_echo_n "(cached) " >&6
13241 case $orig_target_ar in
13243 ac_cv_path_orig_target_ar
="$orig_target_ar" # Let the user override the test with a path.
13246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13247 for as_dir
in $PATH
13250 test -z "$as_dir" && as_dir
=.
13251 for ac_exec_ext
in '' $ac_executable_extensions; do
13252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13253 ac_cv_path_orig_target_ar
="$as_dir/$ac_word$ac_exec_ext"
13254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13264 orig_target_ar
=$ac_cv_path_orig_target_ar
13265 if test -n "$orig_target_ar"; then
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ar" >&5
13267 $as_echo "$orig_target_ar" >&6; }
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270 $as_echo "no" >&6; }
13274 orig_target_ar
="$orig_target_ar $ac_tool_optarg"
13278 if test "$orig_target_ar" = ""; then
13281 if test "$orig_target_ar" = "no"; then
13284 if test "$req_avail" = "no"; then
13285 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
13288 if test "${aros_tool_prefix}${toolchain_ranlib}" = ""; then
13289 if test "$cross_compiling" = "yes" ; then
13290 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
13291 set dummy
${target_tool_prefix}ar; ac_word
=$2
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13293 $as_echo_n "checking for $ac_word... " >&6; }
13294 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13295 $as_echo_n "(cached) " >&6
13297 case $orig_target_ranlib in
13299 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13303 for as_dir
in $PATH
13306 test -z "$as_dir" && as_dir
=.
13307 for ac_exec_ext
in '' $ac_executable_extensions; do
13308 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13309 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13320 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13321 if test -n "$orig_target_ranlib"; then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13323 $as_echo "$orig_target_ranlib" >&6; }
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13326 $as_echo "no" >&6; }
13332 if test "" = ""; then
13337 if test "$GCC" = "yes"; then
13338 aros_gcc_ar
=`$CC -print-prog-name=$ac_tool_ar`
13339 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
13340 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13342 $as_echo_n "checking for $ac_word... " >&6; }
13343 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13344 $as_echo_n "(cached) " >&6
13346 case $orig_target_ranlib in
13348 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13352 for as_dir
in `dirname $aros_gcc_ar`
13355 test -z "$as_dir" && as_dir
=.
13356 for ac_exec_ext
in '' $ac_executable_extensions; do
13357 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13358 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13369 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13370 if test -n "$orig_target_ranlib"; then
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13372 $as_echo "$orig_target_ranlib" >&6; }
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13375 $as_echo "no" >&6; }
13380 if test "$orig_target_ranlib" = ""; then
13381 for ac_prog
in $ac_tool_ar
13383 # Extract the first word of "$ac_prog", so it can be a program name with args.
13384 set dummy
$ac_prog; ac_word
=$2
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13386 $as_echo_n "checking for $ac_word... " >&6; }
13387 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13388 $as_echo_n "(cached) " >&6
13390 case $orig_target_ranlib in
13392 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13396 for as_dir
in $PATH
13399 test -z "$as_dir" && as_dir
=.
13400 for ac_exec_ext
in '' $ac_executable_extensions; do
13401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13402 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13413 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13414 if test -n "$orig_target_ranlib"; then
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13416 $as_echo "$orig_target_ranlib" >&6; }
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13419 $as_echo "no" >&6; }
13423 test -n "$orig_target_ranlib" && break
13430 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_ranlib}" : '[^ ]* \(.*\)'`
13431 # Extract the first word of "${aros_tool_prefix}${toolchain_ranlib}", so it can be a program name with args.
13432 set dummy
${aros_tool_prefix}${toolchain_ranlib}; ac_word
=$2
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13434 $as_echo_n "checking for $ac_word... " >&6; }
13435 if ${ac_cv_path_orig_target_ranlib+:} false
; then :
13436 $as_echo_n "(cached) " >&6
13438 case $orig_target_ranlib in
13440 ac_cv_path_orig_target_ranlib
="$orig_target_ranlib" # Let the user override the test with a path.
13443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13444 for as_dir
in $PATH
13447 test -z "$as_dir" && as_dir
=.
13448 for ac_exec_ext
in '' $ac_executable_extensions; do
13449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13450 ac_cv_path_orig_target_ranlib
="$as_dir/$ac_word$ac_exec_ext"
13451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13461 orig_target_ranlib
=$ac_cv_path_orig_target_ranlib
13462 if test -n "$orig_target_ranlib"; then
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_ranlib" >&5
13464 $as_echo "$orig_target_ranlib" >&6; }
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13467 $as_echo "no" >&6; }
13471 orig_target_ranlib
="$orig_target_ranlib $ac_tool_optarg"
13475 if test "$orig_target_ranlib" = ""; then
13478 if test "$orig_target_ranlib" = "no"; then
13481 if test "$req_avail" = "no"; then
13482 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
13485 if test "${aros_tool_prefix}${toolchain_nm}" = ""; then
13486 if test "$cross_compiling" = "yes" ; then
13487 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
13488 set dummy
${target_tool_prefix}nm
; ac_word
=$2
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13490 $as_echo_n "checking for $ac_word... " >&6; }
13491 if ${ac_cv_path_orig_target_nm+:} false
; then :
13492 $as_echo_n "(cached) " >&6
13494 case $orig_target_nm in
13496 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13500 for as_dir
in $PATH
13503 test -z "$as_dir" && as_dir
=.
13504 for ac_exec_ext
in '' $ac_executable_extensions; do
13505 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13506 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13517 orig_target_nm
=$ac_cv_path_orig_target_nm
13518 if test -n "$orig_target_nm"; then
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13520 $as_echo "$orig_target_nm" >&6; }
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13523 $as_echo "no" >&6; }
13529 if test "" = ""; then
13534 if test "$GCC" = "yes"; then
13535 aros_gcc_nm
=`$CC -print-prog-name=$ac_tool_nm`
13536 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
13537 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13539 $as_echo_n "checking for $ac_word... " >&6; }
13540 if ${ac_cv_path_orig_target_nm+:} false
; then :
13541 $as_echo_n "(cached) " >&6
13543 case $orig_target_nm in
13545 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13549 for as_dir
in `dirname $aros_gcc_nm`
13552 test -z "$as_dir" && as_dir
=.
13553 for ac_exec_ext
in '' $ac_executable_extensions; do
13554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13555 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13566 orig_target_nm
=$ac_cv_path_orig_target_nm
13567 if test -n "$orig_target_nm"; then
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13569 $as_echo "$orig_target_nm" >&6; }
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13572 $as_echo "no" >&6; }
13577 if test "$orig_target_nm" = ""; then
13578 for ac_prog
in $ac_tool_nm
13580 # Extract the first word of "$ac_prog", so it can be a program name with args.
13581 set dummy
$ac_prog; ac_word
=$2
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13583 $as_echo_n "checking for $ac_word... " >&6; }
13584 if ${ac_cv_path_orig_target_nm+:} false
; then :
13585 $as_echo_n "(cached) " >&6
13587 case $orig_target_nm in
13589 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13593 for as_dir
in $PATH
13596 test -z "$as_dir" && as_dir
=.
13597 for ac_exec_ext
in '' $ac_executable_extensions; do
13598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13599 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13610 orig_target_nm
=$ac_cv_path_orig_target_nm
13611 if test -n "$orig_target_nm"; then
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13613 $as_echo "$orig_target_nm" >&6; }
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13616 $as_echo "no" >&6; }
13620 test -n "$orig_target_nm" && break
13627 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_nm}" : '[^ ]* \(.*\)'`
13628 # Extract the first word of "${aros_tool_prefix}${toolchain_nm}", so it can be a program name with args.
13629 set dummy
${aros_tool_prefix}${toolchain_nm}; ac_word
=$2
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13631 $as_echo_n "checking for $ac_word... " >&6; }
13632 if ${ac_cv_path_orig_target_nm+:} false
; then :
13633 $as_echo_n "(cached) " >&6
13635 case $orig_target_nm in
13637 ac_cv_path_orig_target_nm
="$orig_target_nm" # Let the user override the test with a path.
13640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13641 for as_dir
in $PATH
13644 test -z "$as_dir" && as_dir
=.
13645 for ac_exec_ext
in '' $ac_executable_extensions; do
13646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13647 ac_cv_path_orig_target_nm
="$as_dir/$ac_word$ac_exec_ext"
13648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13658 orig_target_nm
=$ac_cv_path_orig_target_nm
13659 if test -n "$orig_target_nm"; then
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_nm" >&5
13661 $as_echo "$orig_target_nm" >&6; }
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13664 $as_echo "no" >&6; }
13668 orig_target_nm
="$orig_target_nm $ac_tool_optarg"
13672 if test "$orig_target_nm" = ""; then
13675 if test "$orig_target_nm" = "no"; then
13678 if test "$req_avail" = "no"; then
13679 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
13682 if test "${aros_tool_prefix}${toolchain_strip}" = ""; then
13683 if test "$cross_compiling" = "yes" ; then
13684 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
13685 set dummy
${target_tool_prefix}strip
; ac_word
=$2
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13687 $as_echo_n "checking for $ac_word... " >&6; }
13688 if ${ac_cv_path_orig_target_strip+:} false
; then :
13689 $as_echo_n "(cached) " >&6
13691 case $orig_target_strip in
13693 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13697 for as_dir
in $PATH
13700 test -z "$as_dir" && as_dir
=.
13701 for ac_exec_ext
in '' $ac_executable_extensions; do
13702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13703 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13714 orig_target_strip
=$ac_cv_path_orig_target_strip
13715 if test -n "$orig_target_strip"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13717 $as_echo "$orig_target_strip" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13720 $as_echo "no" >&6; }
13726 if test "" = ""; then
13727 ac_tool_strip
=strip
13731 if test "$GCC" = "yes"; then
13732 aros_gcc_strip
=`$CC -print-prog-name=$ac_tool_strip`
13733 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
13734 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13736 $as_echo_n "checking for $ac_word... " >&6; }
13737 if ${ac_cv_path_orig_target_strip+:} false
; then :
13738 $as_echo_n "(cached) " >&6
13740 case $orig_target_strip in
13742 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13746 for as_dir
in `dirname $aros_gcc_strip`
13749 test -z "$as_dir" && as_dir
=.
13750 for ac_exec_ext
in '' $ac_executable_extensions; do
13751 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13752 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13763 orig_target_strip
=$ac_cv_path_orig_target_strip
13764 if test -n "$orig_target_strip"; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13766 $as_echo "$orig_target_strip" >&6; }
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769 $as_echo "no" >&6; }
13774 if test "$orig_target_strip" = ""; then
13775 for ac_prog
in $ac_tool_strip
13777 # Extract the first word of "$ac_prog", so it can be a program name with args.
13778 set dummy
$ac_prog; ac_word
=$2
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13780 $as_echo_n "checking for $ac_word... " >&6; }
13781 if ${ac_cv_path_orig_target_strip+:} false
; then :
13782 $as_echo_n "(cached) " >&6
13784 case $orig_target_strip in
13786 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13790 for as_dir
in $PATH
13793 test -z "$as_dir" && as_dir
=.
13794 for ac_exec_ext
in '' $ac_executable_extensions; do
13795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13796 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13807 orig_target_strip
=$ac_cv_path_orig_target_strip
13808 if test -n "$orig_target_strip"; then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13810 $as_echo "$orig_target_strip" >&6; }
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13813 $as_echo "no" >&6; }
13817 test -n "$orig_target_strip" && break
13824 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_strip}" : '[^ ]* \(.*\)'`
13825 # Extract the first word of "${aros_tool_prefix}${toolchain_strip}", so it can be a program name with args.
13826 set dummy
${aros_tool_prefix}${toolchain_strip}; ac_word
=$2
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13828 $as_echo_n "checking for $ac_word... " >&6; }
13829 if ${ac_cv_path_orig_target_strip+:} false
; then :
13830 $as_echo_n "(cached) " >&6
13832 case $orig_target_strip in
13834 ac_cv_path_orig_target_strip
="$orig_target_strip" # Let the user override the test with a path.
13837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13838 for as_dir
in $PATH
13841 test -z "$as_dir" && as_dir
=.
13842 for ac_exec_ext
in '' $ac_executable_extensions; do
13843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13844 ac_cv_path_orig_target_strip
="$as_dir/$ac_word$ac_exec_ext"
13845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13855 orig_target_strip
=$ac_cv_path_orig_target_strip
13856 if test -n "$orig_target_strip"; then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_strip" >&5
13858 $as_echo "$orig_target_strip" >&6; }
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13861 $as_echo "no" >&6; }
13865 orig_target_strip
="$orig_target_strip $ac_tool_optarg"
13869 if test "$orig_target_strip" = ""; then
13872 if test "$orig_target_strip" = "no"; then
13875 if test "$req_avail" = "no"; then
13876 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
13879 if test "${aros_tool_prefix}${toolchain_objcopy}" = ""; then
13880 if test "$cross_compiling" = "yes" ; then
13881 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
13882 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13884 $as_echo_n "checking for $ac_word... " >&6; }
13885 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13886 $as_echo_n "(cached) " >&6
13888 case $orig_target_objcopy in
13890 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13894 for as_dir
in $PATH
13897 test -z "$as_dir" && as_dir
=.
13898 for ac_exec_ext
in '' $ac_executable_extensions; do
13899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13900 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13911 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13912 if test -n "$orig_target_objcopy"; then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13914 $as_echo "$orig_target_objcopy" >&6; }
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13917 $as_echo "no" >&6; }
13923 if test "" = ""; then
13924 ac_tool_objcopy
=objcopy
13928 if test "$GCC" = "yes"; then
13929 aros_gcc_objcopy
=`$CC -print-prog-name=$ac_tool_objcopy`
13930 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
13931 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13933 $as_echo_n "checking for $ac_word... " >&6; }
13934 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13935 $as_echo_n "(cached) " >&6
13937 case $orig_target_objcopy in
13939 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13943 for as_dir
in `dirname $aros_gcc_objcopy`
13946 test -z "$as_dir" && as_dir
=.
13947 for ac_exec_ext
in '' $ac_executable_extensions; do
13948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13949 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13960 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
13961 if test -n "$orig_target_objcopy"; then
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
13963 $as_echo "$orig_target_objcopy" >&6; }
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13966 $as_echo "no" >&6; }
13971 if test "$orig_target_objcopy" = ""; then
13972 for ac_prog
in $ac_tool_objcopy
13974 # Extract the first word of "$ac_prog", so it can be a program name with args.
13975 set dummy
$ac_prog; ac_word
=$2
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13977 $as_echo_n "checking for $ac_word... " >&6; }
13978 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
13979 $as_echo_n "(cached) " >&6
13981 case $orig_target_objcopy in
13983 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
13986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13987 for as_dir
in $PATH
13990 test -z "$as_dir" && as_dir
=.
13991 for ac_exec_ext
in '' $ac_executable_extensions; do
13992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13993 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
13994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14004 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14005 if test -n "$orig_target_objcopy"; then
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14007 $as_echo "$orig_target_objcopy" >&6; }
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14010 $as_echo "no" >&6; }
14014 test -n "$orig_target_objcopy" && break
14021 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objcopy}" : '[^ ]* \(.*\)'`
14022 # Extract the first word of "${aros_tool_prefix}${toolchain_objcopy}", so it can be a program name with args.
14023 set dummy
${aros_tool_prefix}${toolchain_objcopy}; ac_word
=$2
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14025 $as_echo_n "checking for $ac_word... " >&6; }
14026 if ${ac_cv_path_orig_target_objcopy+:} false
; then :
14027 $as_echo_n "(cached) " >&6
14029 case $orig_target_objcopy in
14031 ac_cv_path_orig_target_objcopy
="$orig_target_objcopy" # Let the user override the test with a path.
14034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14035 for as_dir
in $PATH
14038 test -z "$as_dir" && as_dir
=.
14039 for ac_exec_ext
in '' $ac_executable_extensions; do
14040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14041 ac_cv_path_orig_target_objcopy
="$as_dir/$ac_word$ac_exec_ext"
14042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14052 orig_target_objcopy
=$ac_cv_path_orig_target_objcopy
14053 if test -n "$orig_target_objcopy"; then
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objcopy" >&5
14055 $as_echo "$orig_target_objcopy" >&6; }
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14058 $as_echo "no" >&6; }
14062 orig_target_objcopy
="$orig_target_objcopy $ac_tool_optarg"
14066 if test "$orig_target_objcopy" = ""; then
14069 if test "$orig_target_objcopy" = "no"; then
14072 if test "$req_avail" = "no"; then
14073 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
14076 if test "${aros_tool_prefix}${toolchain_objdump}" = ""; then
14077 if test "$cross_compiling" = "yes" ; then
14078 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
14079 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14081 $as_echo_n "checking for $ac_word... " >&6; }
14082 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14083 $as_echo_n "(cached) " >&6
14085 case $orig_target_objdump in
14087 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14091 for as_dir
in $PATH
14094 test -z "$as_dir" && as_dir
=.
14095 for ac_exec_ext
in '' $ac_executable_extensions; do
14096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14097 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14108 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14109 if test -n "$orig_target_objdump"; then
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14111 $as_echo "$orig_target_objdump" >&6; }
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14114 $as_echo "no" >&6; }
14120 if test "" = ""; then
14121 ac_tool_objdump
=objdump
14125 if test "$GCC" = "yes"; then
14126 aros_gcc_objdump
=`$CC -print-prog-name=$ac_tool_objdump`
14127 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
14128 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14130 $as_echo_n "checking for $ac_word... " >&6; }
14131 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14132 $as_echo_n "(cached) " >&6
14134 case $orig_target_objdump in
14136 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14140 for as_dir
in `dirname $aros_gcc_objdump`
14143 test -z "$as_dir" && as_dir
=.
14144 for ac_exec_ext
in '' $ac_executable_extensions; do
14145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14146 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14157 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14158 if test -n "$orig_target_objdump"; then
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14160 $as_echo "$orig_target_objdump" >&6; }
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14163 $as_echo "no" >&6; }
14168 if test "$orig_target_objdump" = ""; then
14169 for ac_prog
in $ac_tool_objdump
14171 # Extract the first word of "$ac_prog", so it can be a program name with args.
14172 set dummy
$ac_prog; ac_word
=$2
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14174 $as_echo_n "checking for $ac_word... " >&6; }
14175 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14176 $as_echo_n "(cached) " >&6
14178 case $orig_target_objdump in
14180 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14184 for as_dir
in $PATH
14187 test -z "$as_dir" && as_dir
=.
14188 for ac_exec_ext
in '' $ac_executable_extensions; do
14189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14190 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14201 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14202 if test -n "$orig_target_objdump"; then
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14204 $as_echo "$orig_target_objdump" >&6; }
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14207 $as_echo "no" >&6; }
14211 test -n "$orig_target_objdump" && break
14218 ac_tool_optarg
=`expr "X${aros_tool_prefix}${toolchain_objdump}" : '[^ ]* \(.*\)'`
14219 # Extract the first word of "${aros_tool_prefix}${toolchain_objdump}", so it can be a program name with args.
14220 set dummy
${aros_tool_prefix}${toolchain_objdump}; ac_word
=$2
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14222 $as_echo_n "checking for $ac_word... " >&6; }
14223 if ${ac_cv_path_orig_target_objdump+:} false
; then :
14224 $as_echo_n "(cached) " >&6
14226 case $orig_target_objdump in
14228 ac_cv_path_orig_target_objdump
="$orig_target_objdump" # Let the user override the test with a path.
14231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14232 for as_dir
in $PATH
14235 test -z "$as_dir" && as_dir
=.
14236 for ac_exec_ext
in '' $ac_executable_extensions; do
14237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14238 ac_cv_path_orig_target_objdump
="$as_dir/$ac_word$ac_exec_ext"
14239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14249 orig_target_objdump
=$ac_cv_path_orig_target_objdump
14250 if test -n "$orig_target_objdump"; then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orig_target_objdump" >&5
14252 $as_echo "$orig_target_objdump" >&6; }
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14255 $as_echo "no" >&6; }
14259 orig_target_objdump
="$orig_target_objdump $ac_tool_optarg"
14263 if test "$orig_target_objdump" = ""; then
14266 if test "$orig_target_objdump" = "no"; then
14269 if test "$req_avail" = "no"; then
14270 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
14274 if test "$kernel_tool_prefix" = "none" ; then
14275 # No kernel tools specified
14276 # Assume target tools == kernel tools with ELF wrapper
14277 aros_kernel_cc
=$orig_target_cc
14278 aros_kernel_cxx
=$orig_target_cxx
14279 aros_kernel_cpp
=$orig_target_cpp
14280 aros_kernel_ld
=$orig_target_ld
14281 aros_kernel_as
=$orig_target_as
14282 aros_kernel_ar
=$orig_target_ar
14283 aros_kernel_ranlib
=$orig_target_ranlib
14284 aros_kernel_nm
=$orig_target_nm
14285 aros_kernel_strip
=$orig_target_strip
14286 aros_kernel_objcopy
=$orig_target_objcopy
14287 aros_kernel_objdump
=$orig_target_objdump
14288 use_kernel_cc_wrapper
=yes
14291 # At this point, all aros_kernel_* and aros_target_*
14292 # tools should be set up correctly
14294 CC
="$aros_kernel_cc $kernel_tool_flags"
14295 CPP
="$aros_kernel_cpp"
14297 #-----------------------------------------------------------------------------
14299 # Find all the tools we need to compile. This could be cross-compiling
14300 # though! If that is the case we use the GNU form of the target and
14301 # simply add this to the front of the binary name. This is rather simple,
14302 # but it should work under most circumstances.
14304 # The default tools are to use the same as the host, but only if the
14305 # host and target CPU are the same. With GCC this is normally enough.
14309 aros_shared_ld
="$aros_host_ld"
14311 aros_target_mkdep
="$aros_host_mkdep"
14313 # The default tools executables to be linked to.
14314 if test "$rescomp" != ""; then
14315 # Extract the first word of "${kernel_tool_prefix}$rescomp", so it can be a program name with args.
14316 set dummy
${kernel_tool_prefix}$rescomp; ac_word
=$2
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14318 $as_echo_n "checking for $ac_word... " >&6; }
14319 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
14320 $as_echo_n "(cached) " >&6
14322 case $aros_kernel_rescomp in
14324 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
14327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14328 for as_dir
in $PATH
14331 test -z "$as_dir" && as_dir
=.
14332 for ac_exec_ext
in '' $ac_executable_extensions; do
14333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14334 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
14335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14345 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
14346 if test -n "$aros_kernel_rescomp"; then
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
14348 $as_echo "$aros_kernel_rescomp" >&6; }
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14351 $as_echo "no" >&6; }
14356 if test "$aros_kernel_rescomp" = ""; then
14359 if test "$aros_kernel_rescomp" = "no"; then
14362 if test "$req_avail" = "no"; then
14363 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
14367 # Set up the sources for the symlink farm
14368 if test "$crosstools" = "yes"; then
14369 crosstools_target
=tools-crosstools
14372 aros_kernel_cc
="$aros_kernel_cc $kernel_tool_flags"
14373 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
14375 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/host/config"
14376 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
14377 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Developer/include/aros"
14378 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
14379 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
14380 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
14381 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
14383 # aros_cc_pre is a variable that is added to the front of the compiler name
14384 # in the generated aros-gcc shell script. We need this to enable the cache
14385 # to work across cleaned builds. Also, support DISTCC using the correct
14386 # environment variable.
14389 if test "x${DISTCC}" != "x" ; then
14390 if test "x${CCACHE}" != "x" ; then
14391 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
14393 aros_cc_pre
="${DISTCC} "
14396 if test "x${CCACHE}" != "x" ; then
14397 aros_cc_pre
="${CCACHE} "
14401 aros_target_nostdinc_cflags
=-nostdinc
14403 aros_target_nostartup_ldflags
=-nostartfiles
14405 aros_target_nix_ldflags
=-nix
14407 aros_target_detach_ldflags
=-detach
14409 aros_target_nostdlib_ldflags
=-nostdlib
14412 aros_target_cc_path
=
14416 if test "$aros_target_toolchain" != "yes"; then
14417 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-"
14418 if test "$GCC" = "yes"; then
14419 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
14422 # We do not know which c compiler version we are going to build and what we need to know
14423 # here is different for different versions so this will be set later during the
14424 # build of crosstools.
14425 if test "$aros_toolchain" = "gnu" ; then
14426 prefix
="$AROS_CROSSTOOLSDIR/${aros_target_cpu}-aros-"
14427 elif test "$aros_toolchain" = "llvm" ; then
14428 prefix
="$AROS_CROSSTOOLSDIR/bin/"
14430 aros_target_cc_path
=@aros_target_cc_path@
14432 aros_target_cpp
="${prefix}${toolchain_cpp_preprocessor}"
14433 aros_target_cc
="${prefix}${toolchain_c_compiler}"
14434 aros_target_cxx
="${prefix}${toolchain_cxx_compiler}"
14435 aros_target_as
="${prefix}${toolchain_as}"
14436 if test "${use_ld_wrapper}" = "yes"; then
14437 aros_target_ld
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-${aros_ld}"
14439 aros_target_ld
="${prefix}${toolchain_ld}"
14441 aros_toolchain_ld
="${prefix}${toolchain_ld}"
14443 aros_target_ar
="${prefix}${toolchain_ar} $aros_target_ar_flags"
14444 aros_target_objcopy
="${prefix}${toolchain_objcopy}"
14445 aros_target_objdump
="${prefix}${toolchain_objdump}"
14446 aros_target_ranlib
="${prefix}${toolchain_ranlib} $aros_target_ranlib_flags"
14447 aros_target_nm
="${prefix}${toolchain_nm} $aros_target_nm_flags"
14448 aros_target_strip
="${prefix}${toolchain_strip}"
14449 aros_plain_nm
="${prefix}${toolchain_nm}"
14450 aros_plain_ar
="${prefix}${toolchain_ar}"
14452 # Check whether --enable-includes was given.
14453 if test "${enable_includes+set}" = set; then :
14454 enableval
=$enable_includes; aros_target_incl
=$enable_includes
14456 aros_target_incl
=no
14460 if test "x$aros_target_incl" = "xno"; then
14461 if test "x$test_kernel_cc" != "xno"; then
14462 aros_target_incl
=`$aros_kernel_cc -print-sysroot 2>/dev/null`/`$aros_kernel_cc --print-sysroot-headers-suffix 2>/dev/null || echo usr/include`
14468 if test "x$aros_kernel_includes" = "x"; then
14469 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14470 if test "x$aros_target_incl" != "x"; then
14471 aros_kernel_includes
="-isystem $aros_target_incl"
14476 if test "x$test_kernel_cc" != "xno"; then
14477 if test "$aros_kernel_includes" != "" ; then
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
14479 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
14480 if test "$aros_kernel_cc_includes" = "" ; then
14481 # Try to guess where the directory is.
14482 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
14483 if test -d $aros_kernel_cc_includes; then
14484 # Check if there is also an include-fixed directory and add it
14485 # to kernel compiler's include path as it may contain some of
14486 # the headers we need.
14487 if test -d "$aros_kernel_cc_includes"-fixed; then
14488 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
14490 # Check for specific includes directory. Needed for Ubuntu 11.10 and Debian
14491 if test -d "/usr/include/${aros_target_cpu}-linux-gnu"; then
14492 aros_kernel_cc_includes
+=" -isystem /usr/include/${aros_target_cpu}-linux-gnu"
14495 # The directory doesn't exist, we need to do some more work.
14496 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
14498 # These are the headers we're looking for.
14499 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14500 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14504 for h
in $headers; do
14505 # Which other headers are needed by each of the above?
14506 deps
=$
(echo "#include <$h>" | \
14507 $aros_kernel_cc -E -M - 2>/dev
/null | \
14508 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14510 # Copy all the needed headers to a directory beneath gendir.
14513 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
14514 sed -n "s,^.*/include\(/.*\),\1,p")
14515 ! test -d $dir && mkdir
-p $dir
14516 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
14522 $as_echo "$aros_kernel_cc_includes" >&6; }
14523 # Adding -nostdinc to kernel includes as they are always used together.
14524 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
14528 if test "$crosstools" != "yes"; then
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
14530 $as_echo_n "checking for the target compiler's include path... " >&6; }
14531 if test "$aros_target_cc_includes" = "" ; then
14532 #try to guess where the directory is
14533 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
14534 if ! test -d $aros_target_cc_includes; then
14535 #the directory doesn't exist, we need to do some more work
14536 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
14538 #these are the headers we're looking for
14539 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
14540 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
14544 for h
in $headers; do
14545 #which other headers each of the above headers needs?
14546 deps
=$
(echo "#include <$h>" | \
14547 $orig_target_cc -E -M - 2>/dev
/null | \
14548 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
14550 #copy all the needed headers to a directory beneath gendir
14553 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
14554 sed -n "s,^.*/include\(/.*\),\1,p")
14555 ! test -d $dir && mkdir
-p $dir
14556 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
14562 $as_echo "$aros_target_cc_includes" >&6; }
14564 # We do not know which c compiler version we are going to build and what we need to know
14565 # here is different for different versions so this will be set later during the
14566 # build of crosstools.
14567 aros_target_cc_includes
=@aros_target_cc_includes@
14571 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
14572 # On GCC >= 4.0 -iquote should be used
14576 save_cflags
="$CFLAGS"
14577 if test "x$test_kernel_cc" != "xno"; then
14579 kernel_cflags_iquote
=$host_cflags_iquote
14580 kernel_cflags_iquote_end
=$host_cflags_iquote_end
14581 if test "x-$cross_compiling" = "x-yes"; then
14582 CC
="$aros_kernel_cc"
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
14584 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
14585 if test "x-$crosstools" != "x-yes"; then
14586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14597 if ac_fn_c_try_compile
"$LINENO"; then :
14598 use_no_stack_protector
="yes"
14600 use_no_stack_protector
="no"
14602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14604 # we do know it is supported for the smallest version of gcc we are going to build
14605 # we assume it's also supported by later versions
14606 use_no_stack_protector
=yes
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
14609 $as_echo "$use_no_stack_protector" >&6; }
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
14611 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
14612 if test "x-$crosstools" != "x-yes"; then
14613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14624 if ac_fn_c_try_compile
"$LINENO"; then :
14629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14631 # we do know it is supported for the smallest version of gcc we are going to build
14632 # we assume it's also supported by later versions
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
14636 $as_echo "$has_iquote" >&6; }
14637 if test "x-$has_iquote" = "x-yes" ; then
14638 kernel_cflags_iquote
=-iquote
14639 kernel_cflags_iquote_end
=
14641 kernel_cflags_iquote
=-I
14642 kernel_cflags_iquote_end
=-I-
14645 if test "x-$use_no_stack_protector" = "x-yes" ; then
14646 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
14649 #-----------------------------------------------------------------------------
14651 # Check if we can explicitly choose older version of symbol hashing
14653 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
14654 CC
="$aros_kernel_cc"
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
14656 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
14657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14668 if ac_fn_c_try_link
"$LINENO"; then :
14669 use_hash_style
="yes"
14671 use_hash_style
="no"
14673 rm -f core conftest.err conftest.
$ac_objext \
14674 conftest
$ac_exeext conftest.
$ac_ext
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
14676 $as_echo "$use_hash_style" >&6; }
14677 if test "x-$use_hash_style" = "x-yes" ; then
14678 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
14681 kernel_cflags_iquote
="$""(CFLAGS_IQUOTE)"
14682 kernel_cflags_iquote_end
="$""(CFLAGS_IQUOTE_END)"
14685 CFLAGS
="$save_cflags"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
14694 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
14696 # Check whether --with-resolution was given.
14697 if test "${with_resolution+set}" = set; then :
14698 withval
=$with_resolution; resolution
=$withval
14703 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
14704 if test "$resolution" = "yes" ; then
14707 if test "$resolution" = "no" ; then
14710 if test "$resolution" != "none" ; then
14711 aros_nominal_width
=`echo $resolution | cut -d'x' -f1`
14712 aros_nominal_height
=`echo $resolution | cut -d'x' -f2`
14713 aros_nominal_depth
=`echo $resolution | cut -d'x' -f3`
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&5
14716 $as_echo "$aros_nominal_width x $aros_nominal_height x $aros_nominal_depth" >&6; }
14717 aros_cv_nominal_width
=$aros_nominal_width
14718 aros_cv_nominal_height
=$aros_nominal_height
14719 aros_cv_nominal_depth
=$aros_nominal_depth
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether serial debug is enabled" >&5
14722 $as_echo_n "checking whether serial debug is enabled... " >&6; }
14724 # Check whether --with-serial-debug was given.
14725 if test "${with_serial_debug+set}" = set; then :
14726 withval
=$with_serial_debug; serial_debug
=$withval
14731 if test "$aros_serial_debug" = 0 ; then
14732 serial_debug_forced
=""
14733 if test "$serial_debug" = "yes" ; then
14736 if test "$serial_debug" = "no" ; then
14737 serial_debug
="none"
14740 serial_debug_forced
="(forced)"
14741 serial_debug
=$aros_serial_debug
14743 if test "$serial_debug" != "none" ; then
14744 aros_serial_debug
=$serial_debug
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
14746 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14749 $as_echo "no" >&6; }
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether palm debug hack is enabled" >&5
14753 $as_echo_n "checking whether palm debug hack is enabled... " >&6; }
14754 # Check whether --enable-palm_debug_hack was given.
14755 if test "${enable_palm_debug_hack+set}" = set; then :
14756 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
14758 palm_debug_hack
="no"
14761 if test "$palm_debug_hack" = "yes" ; then
14762 aros_palm_debug_hack
="1"
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
14765 $as_echo "$palm_debug_hack" >&6; }
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether usb3.0 code is enabled" >&5
14768 $as_echo_n "checking whether usb3.0 code is enabled... " >&6; }
14769 # Check whether --enable-usb30_code was given.
14770 if test "${enable_usb30_code+set}" = set; then :
14771 enableval
=$enable_usb30_code; usb30_code
="yes"
14776 if test "$usb30_code" = "yes" ; then
14777 aros_config_cppflags
="$aros_config_cppflags -DAROS_USB30_CODE"
14778 aros_kernel_cflags
="$aros_kernel_cflags -DAROS_USB30_CODE"
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
14781 $as_echo "$usb30_code" >&6; }
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether nesting supervisor support is enabled" >&5
14784 $as_echo_n "checking whether nesting supervisor support is enabled... " >&6; }
14785 # Check whether --enable-nesting_supervisor was given.
14786 if test "${enable_nesting_supervisor+set}" = set; then :
14787 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
14789 nesting_supervisor
="no"
14792 if test "$nesting_supervisor" = "yes" ; then
14793 aros_nesting_supervisor
="1"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
14796 $as_echo "$nesting_supervisor" >&6; }
14798 if test "$aros_enable_mmu" = "" ; then
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MMU support is enabled" >&5
14800 $as_echo_n "checking whether MMU support is enabled... " >&6; }
14801 # Check whether --enable-mmu was given.
14802 if test "${enable_mmu+set}" = set; then :
14803 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
14805 aros_enable_mmu
="yes"
14808 if test "$aros_enable_mmu" = "" ; then
14809 aros_enable_mmu
="yes"
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
14812 $as_echo "$aros_enable_mmu" >&6; }
14814 if test "$aros_enable_mmu" = "no" ; then
14815 aros_enable_mmu
="0"
14817 aros_enable_mmu
="1"
14821 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
14823 if test "x-$need_dlopen" != "x-no" ; then
14826 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
14827 if test "x$ac_cv_func_dlopen" = xyes
; then :
14833 if test "x-$have_dl" = "x-no" ; then
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14835 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14836 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14837 $as_echo_n "(cached) " >&6
14839 ac_check_lib_save_LIBS
=$LIBS
14841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14844 /* Override any GCC internal prototype to avoid an error.
14845 Use char because int might match the return type of a GCC
14846 builtin and then its argument prototype would still apply. */
14859 if ac_fn_c_try_link
"$LINENO"; then :
14860 ac_cv_lib_dl_dlopen
=yes
14862 ac_cv_lib_dl_dlopen
=no
14864 rm -f core conftest.err conftest.
$ac_objext \
14865 conftest
$ac_exeext conftest.
$ac_ext
14866 LIBS
=$ac_check_lib_save_LIBS
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14869 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14870 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14872 aros_host_ldflags
="$aros_host_ldflags -ldl"
14878 if test "x-$have_dl" = "x-no" ; then
14879 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
14885 # Check whether --enable-x11_hidd was given.
14886 if test "${enable_x11_hidd+set}" = set; then :
14887 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
14889 x11_hidd
="$need_x11"
14892 case "x-$x11_hidd" in
14893 x-yes|x-no|x-auto
) ;;
14894 *) x11_hidd
="$need_x11" ;;
14899 if test "x-$x11_hidd" != "x-no" ; then
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14902 $as_echo_n "checking for X... " >&6; }
14905 # Check whether --with-x was given.
14906 if test "${with_x+set}" = set; then :
14910 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14911 if test "x$with_x" = xno
; then
14912 # The user explicitly disabled X.
14915 case $x_includes,$x_libraries in #(
14916 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
14917 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
14918 $as_echo_n "(cached) " >&6
14920 # One or both of the vars are not set, and there is no cached value.
14921 ac_x_includes
=no ac_x_libraries
=no
14922 rm -f -r conftest.dir
14923 if mkdir conftest.dir
; then
14925 cat >Imakefile
<<'_ACEOF'
14927 @echo incroot='${INCROOT}'
14929 @echo usrlibdir='${USRLIBDIR}'
14931 @echo libdir='${LIBDIR}'
14933 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
14934 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14935 for ac_var
in incroot usrlibdir libdir
; do
14936 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14938 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14939 for ac_extension
in a so sl dylib la dll
; do
14940 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14941 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14942 ac_im_usrlibdir
=$ac_im_libdir; break
14945 # Screen out bogus values from the imake configuration. They are
14946 # bogus both because they are the default anyway, and because
14947 # using them would break gcc on systems where it needs fixed includes.
14948 case $ac_im_incroot in
14949 /usr
/include
) ac_x_includes
= ;;
14950 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
14952 case $ac_im_usrlibdir in
14953 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
14954 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
14958 rm -f -r conftest.dir
14961 # Standard set of common directories for X headers.
14962 # Check X11 before X11Rn because it is often a symlink to the current release.
14976 /usr/local/X11/include
14977 /usr/local/X11R7/include
14978 /usr/local/X11R6/include
14979 /usr/local/X11R5/include
14980 /usr/local/X11R4/include
14982 /usr/local/include/X11
14983 /usr/local/include/X11R7
14984 /usr/local/include/X11R6
14985 /usr/local/include/X11R5
14986 /usr/local/include/X11R4
14990 /usr/XFree86/include/X11
14994 /usr/unsupported/include
14995 /usr/athena/include
14996 /usr/local/x11r5/include
14997 /usr/lpp/Xamples/include
14999 /usr/openwin/include
15000 /usr/openwin/share/include'
15002 if test "$ac_x_includes" = no
; then
15003 # Guess where to find include files, by looking for Xlib.h.
15004 # First, try using that file with no special directory specified.
15005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 #include <X11/Xlib.h>
15009 if ac_fn_c_try_cpp
"$LINENO"; then :
15010 # We can compile using X headers with no special include directory.
15013 for ac_dir
in $ac_x_header_dirs; do
15014 if test -r "$ac_dir/X11/Xlib.h"; then
15015 ac_x_includes
=$ac_dir
15020 rm -f conftest.err conftest.i conftest.
$ac_ext
15021 fi # $ac_x_includes = no
15023 if test "$ac_x_libraries" = no
; then
15024 # Check for the libraries.
15025 # See if we find them without any special options.
15026 # Don't add to $LIBS permanently.
15029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15031 #include <X11/Xlib.h>
15040 if ac_fn_c_try_link
"$LINENO"; then :
15042 # We can link X programs with no special library path.
15046 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
15048 # Don't even attempt the hair of trying to link an X program!
15049 for ac_extension
in a so sl dylib la dll
; do
15050 if test -r "$ac_dir/libX11.$ac_extension"; then
15051 ac_x_libraries
=$ac_dir
15057 rm -f core conftest.err conftest.
$ac_objext \
15058 conftest
$ac_exeext conftest.
$ac_ext
15059 fi # $ac_x_libraries = no
15061 case $ac_x_includes,$ac_x_libraries in #(
15062 no
,* |
*,no |
*\'*)
15063 # Didn't find X, or a directory has "'" in its name.
15064 ac_cv_have_x
="have_x=no";; #(
15066 # Record where we found X for the cache.
15067 ac_cv_have_x
="have_x=yes\
15068 ac_x_includes='$ac_x_includes'\
15069 ac_x_libraries='$ac_x_libraries'"
15075 eval "$ac_cv_have_x"
15078 if test "$have_x" != yes; then
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
15080 $as_echo "$have_x" >&6; }
15083 # If each of the values was on the command line, it overrides each guess.
15084 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
15085 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
15086 # Update the cache value to reflect the command line values.
15087 ac_cv_have_x
="have_x=yes\
15088 ac_x_includes='$x_includes'\
15089 ac_x_libraries='$x_libraries'"
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
15091 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
15095 if test -n "$x_includes"; then
15096 X_CFLAGS
="$X_CFLAGS -I$x_includes"
15099 if test -n "$x_libraries"; then
15100 X_LIBS
="$X_LIBS -L$x_libraries"
15103 if test "x-$no_x" = "x-yes" ; then
15105 if test "x-$x11_hidd" != "x-auto" ; then
15106 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
15110 aros_target_options
+="$export_newline""# Enable X11 Gfx Driver$export_newline""OPT_HOST_X11GFX := yes$export_newline"
15111 if test "x-$host_feature_glx" != "x-no" ; then
15112 aros_target_options
+="$export_newline""# Enable X11 HostGL 3D Passthrough$export_newline""OPT_HOST_X11_HOSTGL := yes$export_newline"
15116 aros_host_x11_cflags
="$X_CFLAGS"
15117 aros_host_x11_ldflags
="$X_LIBS -lX11"
15119 # Check whether --enable-x11_shm was given.
15120 if test "${enable_x11_shm+set}" = set; then :
15121 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
15123 x11_hidd_shm
="auto"
15126 case "x-$x11_hidd_shm" in
15127 x-yes|x-no|x-auto
) ;;
15128 *) x11_hidd_shm
="auto" ;;
15133 if test "x-$x11_hidd_shm" != "x-no" ; then
15135 for ac_header
in sys
/ipc.h
15137 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
15138 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
15139 cat >>confdefs.h
<<_ACEOF
15140 #define HAVE_SYS_IPC_H 1
15147 for ac_header
in sys
/shm.h
15149 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
15150 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
15151 cat >>confdefs.h
<<_ACEOF
15152 #define HAVE_SYS_SHM_H 1
15160 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
15162 save_cflags
="$CFLAGS"
15163 save_ldflags
="$LDFLAGS"
15164 CFLAGS
="$CFLAGS $X_CFLAGS"
15165 LDFLAGS
="$LDFLAGS $X_LIBS"
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15167 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
15168 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
15169 $as_echo_n "(cached) " >&6
15171 ac_check_lib_save_LIBS
=$LIBS
15172 LIBS
="-lXext $LIBS"
15173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15176 /* Override any GCC internal prototype to avoid an error.
15177 Use char because int might match the return type of a GCC
15178 builtin and then its argument prototype would still apply. */
15182 char XShmQueryExtension ();
15186 return XShmQueryExtension ();
15191 if ac_fn_c_try_link
"$LINENO"; then :
15192 ac_cv_lib_Xext_XShmQueryExtension
=yes
15194 ac_cv_lib_Xext_XShmQueryExtension
=no
15196 rm -f core conftest.err conftest.
$ac_objext \
15197 conftest
$ac_exeext conftest.
$ac_ext
15198 LIBS
=$ac_check_lib_save_LIBS
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15201 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15202 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
15206 CFLAGS
="$save_cflags"
15207 LDFLAGS
="$save_ldflags"
15211 if test "x-$have_xshm" = "x-yes" ; then
15212 DO_XSHM_SUPPORT
="1"
15213 elif test "x-$x11_hidd_shm" = "x-yes" ; then
15214 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
15216 DO_XSHM_SUPPORT
="0"
15220 # Check whether --enable-x11_vidmode was given.
15221 if test "${enable_x11_vidmode+set}" = set; then :
15222 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
15224 x11_hidd_vidmode
="auto"
15227 case "x-$x11_hidd_vidmode" in
15228 x-yes|x-no|x-auto
) ;;
15229 *) x11_hidd_vidmode
="auto" ;;
15234 if test "x-$x11_hidd_vidmode" != "x-no" ; then
15236 save_cflags
="$CFLAGS"
15237 save_ldflags
="$LDFLAGS"
15238 CFLAGS
="$CFLAGS $X_CFLAGS"
15239 LDFLAGS
="$LDFLAGS $X_LIBS"
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
15241 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
15242 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
15243 $as_echo_n "(cached) " >&6
15245 ac_check_lib_save_LIBS
=$LIBS
15246 LIBS
="-lXxf86vm $LIBS"
15247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15250 /* Override any GCC internal prototype to avoid an error.
15251 Use char because int might match the return type of a GCC
15252 builtin and then its argument prototype would still apply. */
15256 char XF86VidModeQueryExtension ();
15260 return XF86VidModeQueryExtension ();
15265 if ac_fn_c_try_link
"$LINENO"; then :
15266 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
15268 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
15270 rm -f core conftest.err conftest.
$ac_objext \
15271 conftest
$ac_exeext conftest.
$ac_ext
15272 LIBS
=$ac_check_lib_save_LIBS
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
15275 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
15276 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
15280 CFLAGS
="$save_cflags"
15281 LDFLAGS
="$save_ldflags"
15284 if test "x-$have_vidmode" = "x-yes" ; then
15285 DO_VIDMODE_SUPPORT
="1"
15286 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
15287 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
15289 DO_VIDMODE_SUPPORT
="0"
15294 # Check whether --enable-sdl_hidd was given.
15295 if test "${enable_sdl_hidd+set}" = set; then :
15296 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
15301 case "x-$sdl_hidd" in
15302 x-yes|x-no|x-auto
) ;;
15303 *) sdl_hidd
="auto" ;;
15306 if test "x-$sdl_hidd" != "x-no" ; then
15310 # Check whether --with-sdl-prefix was given.
15311 if test "${with_sdl_prefix+set}" = set; then :
15312 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
15318 # Check whether --with-sdl-exec-prefix was given.
15319 if test "${with_sdl_exec_prefix+set}" = set; then :
15320 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
15325 # Check whether --enable-sdltest was given.
15326 if test "${enable_sdltest+set}" = set; then :
15327 enableval
=$enable_sdltest;
15333 if test x
$sdl_exec_prefix != x
; then
15334 sdl_config_args
="$sdl_config_args --exec-prefix=$sdl_exec_prefix"
15335 if test x
${SDL_CONFIG+set} != xset
; then
15336 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
15339 if test x
$sdl_prefix != x
; then
15340 sdl_config_args
="$sdl_config_args --prefix=$sdl_prefix"
15341 if test x
${SDL_CONFIG+set} != xset
; then
15342 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
15346 as_save_PATH
="$PATH"
15347 if test "x$prefix" != xNONE
; then
15348 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
15350 # Extract the first word of "sdl-config", so it can be a program name with args.
15351 set dummy sdl-config
; ac_word
=$2
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15353 $as_echo_n "checking for $ac_word... " >&6; }
15354 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
15355 $as_echo_n "(cached) " >&6
15357 case $SDL_CONFIG in
15359 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
15362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15363 for as_dir
in $PATH
15366 test -z "$as_dir" && as_dir
=.
15367 for ac_exec_ext
in '' $ac_executable_extensions; do
15368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15369 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15377 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
15381 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
15382 if test -n "$SDL_CONFIG"; then
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
15384 $as_echo "$SDL_CONFIG" >&6; }
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15387 $as_echo "no" >&6; }
15391 PATH
="$as_save_PATH"
15392 min_sdl_version
=$SDL_VERSION
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
15394 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
15396 if test "$SDL_CONFIG" = "no" ; then
15399 SDL_CFLAGS
=`$SDL_CONFIG $sdl_config_args --cflags`
15400 SDL_LIBS
=`$SDL_CONFIG $sdl_config_args --libs`
15402 sdl_major_version
=`$SDL_CONFIG $sdl_config_args --version | \
15403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15404 sdl_minor_version
=`$SDL_CONFIG $sdl_config_args --version | \
15405 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15406 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
15407 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15408 if test "x$enable_sdltest" = "xyes" ; then
15409 ac_save_CFLAGS
="$CFLAGS"
15410 ac_save_CXXFLAGS
="$CXXFLAGS"
15411 ac_save_LIBS
="$LIBS"
15412 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15413 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15414 LIBS
="$LIBS $SDL_LIBS"
15416 if test "$cross_compiling" = yes; then :
15417 echo $ac_n "cross compiling; assumed OK... $ac_c"
15419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15420 /* end confdefs.h. */
15423 #include <stdlib.h>
15424 #include <string.h>
15428 my_strdup (char *str)
15434 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
15435 strcpy (new_str, str);
15443 int main (int argc, char *argv[])
15445 int major, minor, micro;
15448 /* This hangs on some systems (?)
15449 system ("touch conf.sdltest");
15451 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
15453 /* HP/UX 9 (%@#!) writes to sscanf strings */
15454 tmp_version = my_strdup("$min_sdl_version");
15455 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15456 printf("%s, bad version string\n", "$min_sdl_version");
15460 if (($sdl_major_version > major) ||
15461 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
15462 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
15468 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
15469 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
15470 printf("*** best to upgrade to the required version.\n");
15471 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
15472 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
15473 printf("*** config.cache before re-running configure\n");
15480 if ac_fn_c_try_run
"$LINENO"; then :
15485 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15486 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15489 CFLAGS
="$ac_save_CFLAGS"
15490 CXXFLAGS
="$ac_save_CXXFLAGS"
15491 LIBS
="$ac_save_LIBS"
15494 if test "x$no_sdl" = x
; then
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15496 $as_echo "yes" >&6; }
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15500 $as_echo "no" >&6; }
15501 if test "$SDL_CONFIG" = "no" ; then
15502 echo "*** The sdl-config script installed by SDL could not be found"
15503 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
15504 echo "*** your path, or set the SDL_CONFIG environment variable to the"
15505 echo "*** full path to sdl-config."
15507 if test -f conf.sdltest
; then
15510 echo "*** Could not run SDL test program, checking why..."
15511 CFLAGS
="$CFLAGS $SDL_CFLAGS"
15512 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
15513 LIBS
="$LIBS $SDL_LIBS"
15514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15520 int main(int argc, char *argv[])
15523 #define main K_and_R_C_main
15533 if ac_fn_c_try_link
"$LINENO"; then :
15534 echo "*** The test program compiled, but did not run. This usually means"
15535 echo "*** that the run-time linker is not finding SDL or finding the wrong"
15536 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
15537 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15538 echo "*** to the installed location Also, make sure you have run ldconfig if that"
15539 echo "*** is required on your system"
15541 echo "*** If you have an old version installed, it is best to remove it, although"
15542 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15544 echo "*** The test program failed to compile or link. See the file config.log for the"
15545 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
15546 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
15547 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
15549 rm -f core conftest.err conftest.
$ac_objext \
15550 conftest
$ac_exeext conftest.
$ac_ext
15551 CFLAGS
="$ac_save_CFLAGS"
15552 CXXFLAGS
="$ac_save_CXXFLAGS"
15553 LIBS
="$ac_save_LIBS"
15565 if test "x-$have_sdl" != "x-yes" ; then
15567 if test "x-$sdl_hidd" != "x-auto" ; then
15568 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
15572 aros_target_options
+="$export_newline""# Enable SDL Gfx Driver$export_newline""OPT_HOST_SDLGFX := yes$export_newline"
15573 aros_host_sdl_cflags
=$SDL_CFLAGS
15574 aros_host_sdl_libs
=$SDL_LIBS
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building of dbus.library is enabled" >&5
15582 $as_echo_n "checking whether building of dbus.library is enabled... " >&6; }
15583 # Check whether --enable-dbus was given.
15584 if test "${enable_dbus+set}" = set; then :
15585 enableval
=$enable_dbus; dbus
="yes"
15590 if test "$dbus" = "yes" ; then
15592 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
15593 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
15594 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
15595 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
15600 $as_echo "$dbus" >&6; }
15602 if test "$use_kernel_cc_wrapper" = "yes" ; then
15603 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-${toolchain_c_compiler}"
15606 aros_kernel_cppflags
=$aros_config_cppflags
15607 aros_optimization_cflags
="$optimization_level"
15608 if test "$optimization" = "default"; then
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default optimization level to use" >&5
15610 $as_echo_n "checking default optimization level to use... " >&6; }
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization_level" >&5
15612 $as_echo "$optimization_level" >&6; }
15615 if ! test "$gcc_default_cpu" = "" ; then
15616 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"
15619 if test "$use_libatomic" = "yes" ; then
15620 aros_cxx_libs
="$aros_cxx_libs -latomic"
15638 # Compatability with other Amiga-like operating systems
15641 # Host Related ###########################
15673 # Target Related #########################
15766 # Native version related
15774 # Bootloader related
15777 # Unix/Hosted version related
15780 # ARM default GCC target related
15787 # Palm native version related
15790 # Apple iOS related
15807 # Collect-aros stuff: "-ius" to ignore undefined symbols
15810 # C compiler related
15815 #ObjC compiler related
15843 case "$aros_flavour" in
15844 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
15845 aros_flavour
="emulation" ;;
15846 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
15847 aros_flavour
="emulation" ;;
15848 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
15849 aros_flavour
="standalone";;
15850 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15851 aros_flavour
="standalone";;
15852 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
15853 aros_flavour
="native" ;;
15854 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
15855 aros_flavour
="native" ;;
15856 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
15857 aros_flavour
="linklib" ;;
15858 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15859 aros_flavour
="palmnative" ;;
15860 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
15861 aros_flavour
="mac68knative" ;;
15862 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
15863 aros_flavour
="ppcnative" ;;
15866 if test ! -d ${aros_inc_dir} ; then
15867 ${MKDIR} ${aros_inc_dir}
15869 if test ! -d ${aros_geninc_dir} ; then
15870 ${MKDIR} ${aros_geninc_dir}
15872 if test ! -d ${aros_hostcfg_dir} ; then
15873 ${MKDIR} ${aros_hostcfg_dir}
15875 if test ! -d ${aros_targetcfg_dir} ; then
15876 ${MKDIR} ${aros_targetcfg_dir}
15878 if test ! -d ${aros_tools_dir} ; then
15879 ${MKDIR} ${aros_tools_dir}
15881 if test ! -d ${aros_scripts_dir} ; then
15882 ${MKDIR} ${aros_scripts_dir}
15885 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
15888 # Generic build tools (metamake, etc)
15889 ac_config_commands
="$ac_config_commands genmf-executable-support"
15891 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"
15895 ac_config_commands
="$ac_config_commands binutils-support"
15897 if test "${use_ld_wrapper}" = "yes"; then
15898 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"
15901 # Bare Elf support script and spec
15902 if test "${use_kernel_cc_wrapper}" = "yes"; then
15903 ac_config_commands
="$ac_config_commands elf-compiler-support"
15905 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"
15909 # Host compiler support scripts and spec
15910 if test "${aros_target_toolchain}" = "no"; then
15911 ac_config_commands
="$ac_config_commands host-compiler-wrapper-support"
15913 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"
15918 if test "$aros_target_variant" == "android"; then
15919 ac_config_files
="$ac_config_files ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
15924 ac_config_files
="$ac_config_files ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in"
15927 cat >confcache
<<\_ACEOF
15928 # This file is a shell script that caches the results of configure
15929 # tests run on this system so they can be shared between configure
15930 # scripts and configure runs, see configure's option --config-cache.
15931 # It is not useful on other systems. If it contains results you don't
15932 # want to keep, you may remove or edit it.
15934 # config.status only pays attention to the cache file if you give it
15935 # the --recheck option to rerun configure.
15937 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15938 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15939 # following values.
15943 # The following way of writing the cache mishandles newlines in values,
15944 # but we know of no workaround that is simple, portable, and efficient.
15945 # So, we kill variables containing newlines.
15946 # Ultrix sh set writes to stderr and can't be redirected directly,
15947 # and sets the high bit in the cache file unless we assign to the vars.
15949 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15950 eval ac_val
=\$
$ac_var
15954 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15955 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15958 _ | IFS | as_nl
) ;; #(
15959 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15960 *) { eval $ac_var=; unset $ac_var;} ;;
15966 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15967 *${as_nl}ac_space
=\
*)
15968 # `set' does not quote correctly, so add quotes: double-quote
15969 # substitution turns \\\\ into \\, and sed turns \\ into \.
15972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15975 # `set' quotes correctly as required by POSIX, so do not add quotes.
15976 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15985 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15987 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15989 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15990 if test -w "$cache_file"; then
15991 if test "x$cache_file" != "x/dev/null"; then
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15993 $as_echo "$as_me: updating cache $cache_file" >&6;}
15994 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15995 cat confcache
>"$cache_file"
15997 case $cache_file in #(
15999 mv -f confcache
"$cache_file"$$
&&
16000 mv -f "$cache_file"$$
"$cache_file" ;; #(
16002 mv -f confcache
"$cache_file" ;;
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16008 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16013 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16014 # Let make expand exec_prefix.
16015 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16017 DEFS
=-DHAVE_CONFIG_H
16022 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16023 # 1. Remove the extension, and $U if already installed.
16024 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16025 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16026 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16027 # will be set to the directory where LIBOBJS objects are built.
16028 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16029 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16031 LIBOBJS
=$ac_libobjs
16033 LTLIBOBJS
=$ac_ltlibobjs
16037 : "${CONFIG_STATUS=./config.status}"
16039 ac_clean_files_save
=$ac_clean_files
16040 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16042 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16044 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16046 # Generated by $as_me.
16047 # Run this file to recreate the current configuration.
16048 # Compiler output produced by configure, useful for debugging
16049 # configure, is in config.log if it exists.
16052 ac_cs_recheck=false
16055 SHELL=\${CONFIG_SHELL-$SHELL}
16058 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16059 ## -------------------- ##
16060 ## M4sh Initialization. ##
16061 ## -------------------- ##
16063 # Be more Bourne compatible
16064 DUALCASE
=1; export DUALCASE
# for MKS sh
16065 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16068 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16069 # is contrary to our usage. Disable this feature.
16070 alias -g '${1+"$@"}'='"$@"'
16071 setopt NO_GLOB_SUBST
16073 case `(set -o) 2>/dev/null` in #(
16085 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16086 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16087 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16088 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16089 # Prefer a ksh shell builtin over an external printf program on Solaris,
16090 # but without wasting forks for bash or zsh.
16091 if test -z "$BASH_VERSION$ZSH_VERSION" \
16092 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16093 as_echo='print
-r --'
16094 as_echo_n='print
-rn --'
16095 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16096 as_echo='printf %s
\n'
16097 as_echo_n='printf %s
'
16099 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16100 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16101 as_echo_n='/usr
/ucb
/echo -n'
16103 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16104 as_echo_n_body='eval
16108 expr "X$arg" : "X\\(.*\\)$as_nl";
16109 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16111 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16113 export as_echo_n_body
16114 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16116 export as_echo_body
16117 as_echo='sh
-c $as_echo_body as_echo
'
16120 # The user is always right.
16121 if test "${PATH_SEPARATOR+set}" != set; then
16123 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16124 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16131 # We need space, tab and new line, in precisely that order. Quoting is
16132 # there to prevent editors from complaining about space-tab.
16133 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16134 # splitting by setting IFS to empty value.)
16137 # Find who we are. Look in the path if we contain no directory separator.
16140 *[\\/]* ) as_myself=$0 ;;
16141 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16142 for as_dir in $PATH
16145 test -z "$as_dir" && as_dir=.
16146 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16152 # We did not find ourselves, most probably we were run as `sh COMMAND'
16153 # in which case we are not to be found in the path.
16154 if test "x$as_myself" = x
; then
16157 if test ! -f "$as_myself"; then
16158 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16162 # Unset variables that we do not need and which cause bugs (e.g. in
16163 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16164 # suppresses any "Segmentation fault" message there. '((' could
16165 # trigger a bug in pdksh 5.2.14.
16166 for as_var
in BASH_ENV ENV MAIL MAILPATH
16167 do eval test x\
${$as_var+set} = xset \
16168 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16181 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16184 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16185 # ----------------------------------------
16186 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16187 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16188 # script with STATUS, using 1 if that was 0.
16191 as_status
=$1; test $as_status -eq 0 && as_status
=1
16193 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16194 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16196 $as_echo "$as_me: error: $2" >&2
16197 as_fn_exit
$as_status
16201 # as_fn_set_status STATUS
16202 # -----------------------
16203 # Set $? to STATUS, without forking.
16204 as_fn_set_status
()
16207 } # as_fn_set_status
16209 # as_fn_exit STATUS
16210 # -----------------
16211 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16215 as_fn_set_status
$1
16221 # Portably unset VAR.
16224 { eval $1=; unset $1;}
16226 as_unset
=as_fn_unset
16227 # as_fn_append VAR VALUE
16228 # ----------------------
16229 # Append the text in VALUE to the end of the definition contained in VAR. Take
16230 # advantage of any shell optimizations that allow amortized linear growth over
16231 # repeated appends, instead of the typical quadratic growth present in naive
16233 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16234 eval 'as_fn_append ()
16245 # as_fn_arith ARG...
16246 # ------------------
16247 # Perform arithmetic evaluation on the ARGs, and store the result in the
16248 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16249 # must be portable across $(()) and expr.
16250 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16251 eval 'as_fn_arith ()
16258 as_val
=`expr "$@" || test $? -eq 1`
16263 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16264 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16270 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16271 as_basename
=basename
16276 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16282 as_me
=`$as_basename -- "$0" ||
16283 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16284 X"$0" : 'X\(//\)$' \| \
16285 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16287 sed '/^.*\/\([^/][^/]*\)\/*$/{
16301 # Avoid depending upon Character Ranges.
16302 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16303 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16304 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16305 as_cr_digits
='0123456789'
16306 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16308 ECHO_C
= ECHO_N
= ECHO_T
=
16309 case `echo -n x` in #(((((
16311 case `echo 'xy\c'` in
16312 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16314 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16321 rm -f conf$$ conf$$.exe conf$$.
file
16322 if test -d conf$$.dir
; then
16323 rm -f conf$$.dir
/conf$$.
file
16326 mkdir conf$$.dir
2>/dev
/null
16328 if (echo >conf$$.
file) 2>/dev
/null
; then
16329 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16331 # ... but there are two gotchas:
16332 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16333 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16334 # In both cases, we have to default to `cp -pR'.
16335 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16337 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16345 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16346 rmdir conf$$.dir
2>/dev
/null
16351 # Create "$as_dir" as a directory, including parents if necessary.
16356 -*) as_dir
=.
/$as_dir;;
16358 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16362 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16363 *) as_qdir
=$as_dir;;
16365 as_dirs
="'$as_qdir' $as_dirs"
16366 as_dir
=`$as_dirname -- "$as_dir" ||
16367 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16368 X"$as_dir" : 'X\(//\)[^/]' \| \
16369 X"$as_dir" : 'X\(//\)$' \| \
16370 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16371 $as_echo X"$as_dir" |
16372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16376 /^X\(\/\/\)[^/].*/{
16389 test -d "$as_dir" && break
16391 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16392 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16396 if mkdir
-p .
2>/dev
/null
; then
16397 as_mkdir_p
='mkdir -p "$as_dir"'
16399 test -d .
/-p && rmdir .
/-p
16404 # as_fn_executable_p FILE
16405 # -----------------------
16406 # Test if FILE is an executable regular file.
16407 as_fn_executable_p
()
16409 test -f "$1" && test -x "$1"
16410 } # as_fn_executable_p
16411 as_test_x
='test -x'
16412 as_executable_p
=as_fn_executable_p
16414 # Sed expression to map a string onto a valid CPP name.
16415 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16417 # Sed expression to map a string onto a valid variable name.
16418 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16422 ## ----------------------------------- ##
16423 ## Main body of $CONFIG_STATUS script. ##
16424 ## ----------------------------------- ##
16426 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16429 # Save the log message, to keep $0 and so on meaningful, and to
16430 # report actual input values of CONFIG_FILES etc. instead of their
16431 # values after options handling.
16433 This file was extended by $as_me, which was
16434 generated by GNU Autoconf 2.69. Invocation command line was
16436 CONFIG_FILES = $CONFIG_FILES
16437 CONFIG_HEADERS = $CONFIG_HEADERS
16438 CONFIG_LINKS = $CONFIG_LINKS
16439 CONFIG_COMMANDS = $CONFIG_COMMANDS
16442 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16447 case $ac_config_files in *"
16448 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16451 case $ac_config_headers in *"
16452 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16457 # Files that config.status was made for.
16458 config_files="$ac_config_files"
16459 config_headers="$ac_config_headers"
16460 config_commands="$ac_config_commands"
16464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16466 \`$as_me' instantiates files and other configuration actions
16467 from templates according to the current configuration. Unless the files
16468 and actions are specified as TAGs, all are instantiated by default.
16470 Usage: $0 [OPTION]... [TAG]...
16472 -h, --help print this help, then exit
16473 -V, --version print version number and configuration settings, then exit
16474 --config print configuration, then exit
16475 -q, --quiet, --silent
16476 do not print progress messages
16477 -d, --debug don't remove temporary files
16478 --recheck update $as_me by reconfiguring in the same conditions
16479 --file=FILE[:TEMPLATE]
16480 instantiate the configuration file FILE
16481 --header=FILE[:TEMPLATE]
16482 instantiate the configuration header FILE
16484 Configuration files:
16487 Configuration headers:
16490 Configuration commands:
16493 Report bugs to the package provider."
16496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16497 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16500 configured by $0, generated by GNU Autoconf 2.69,
16501 with options \\"\$ac_cs_config\\"
16503 Copyright (C) 2012 Free Software Foundation, Inc.
16504 This config.status script is free software; the Free Software Foundation
16505 gives unlimited permission to copy, distribute and modify it."
16509 test -n "\$AWK" || AWK=awk
16512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16513 # The default lists apply if the user does not specify any file.
16519 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16520 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16524 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16536 # Handling of the options.
16537 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16539 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16540 $as_echo "$ac_cs_version"; exit ;;
16541 --config |
--confi |
--conf |
--con |
--co |
--c )
16542 $as_echo "$ac_cs_config"; exit ;;
16543 --debug |
--debu |
--deb |
--de |
--d |
-d )
16545 --file |
--fil |
--fi |
--f )
16548 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16549 '') as_fn_error $?
"missing file argument" ;;
16551 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16552 ac_need_defaults
=false
;;
16553 --header |
--heade |
--head |
--hea )
16556 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16558 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16559 ac_need_defaults
=false
;;
16561 # Conflict between --help and --header
16562 as_fn_error $?
"ambiguous option: \`$1'
16563 Try \`$0 --help' for more information.";;
16564 --help |
--hel |
-h )
16565 $as_echo "$ac_cs_usage"; exit ;;
16566 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16567 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16570 # This is an error.
16571 -*) as_fn_error $?
"unrecognized option: \`$1'
16572 Try \`$0 --help' for more information." ;;
16574 *) as_fn_append ac_config_targets
" $1"
16575 ac_need_defaults
=false
;;
16581 ac_configure_extra_args
=
16583 if $ac_cs_silent; then
16585 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16590 if \$ac_cs_recheck; then
16591 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16593 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16594 CONFIG_SHELL='$SHELL'
16595 export CONFIG_SHELL
16600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16604 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16605 ## Running $as_me. ##
16611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16616 AROS_CROSSTOOLSDIR=${AROS_CROSSTOOLSDIR}
16617 aros_tools_dir=${aros_tools_dir}
16621 aros_host_exe_suffix=${aros_host_exe_suffix}
16622 aros_tools_dir=${aros_tools_dir}
16623 aros_target_cpu=${aros_target_cpu}
16624 aros_target_arch=${aros_target_arch}
16625 aros_target_suffix=${aros_target_suffix}
16626 orig_target_nm=${orig_target_nm}
16627 orig_target_as=${orig_target_as}
16628 orig_target_ar=${orig_target_ar}
16629 orig_target_ranlib=${orig_target_ranlib}
16630 orig_target_objdump=${orig_target_objdump}
16631 orig_target_objcopy=${orig_target_objcopy}
16632 orig_target_strip=${orig_target_strip}
16633 aros_kernel_ld=${aros_kernel_ld}
16637 aros_host_exe_suffix=${aros_host_exe_suffix}
16638 aros_tools_dir=${aros_tools_dir}
16639 aros_target_cpu=${aros_target_cpu}
16640 aros_target_arch=${aros_target_arch}
16641 aros_target_suffix=${aros_target_suffix}
16642 aros_kernel_ld=${aros_kernel_ld}
16646 aros_host_exe_suffix=${aros_host_exe_suffix}
16647 aros_tools_dir=${aros_tools_dir}
16648 aros_target_cpu=${aros_target_cpu}
16649 aros_target_arch=${aros_target_arch}
16650 aros_target_suffix=${aros_target_suffix}
16656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16658 # Handling of arguments.
16659 for ac_config_target
in $ac_config_targets
16661 case $ac_config_target in
16662 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
16663 "genmf-executable-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf-executable-support" ;;
16664 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16665 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
16666 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
16667 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
16668 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
16669 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
16670 "${aros_targetcfg_dir}/build.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/build.cfg:config/build.cfg.in" ;;
16671 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
16672 "compiler/include/geninc.cfg") CONFIG_FILES
="$CONFIG_FILES compiler/include/geninc.cfg:compiler/include/geninc.cfg.in" ;;
16673 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
16674 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
16675 "${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname") CONFIG_FILES="$CONFIG_FILES ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname:scripts/uname.in" ;;
16676 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
16677 "binutils-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS binutils-support" ;;
16678 "${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" ;;
16679 "elf-compiler-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS elf-compiler-support" ;;
16680 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
16681 "${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" ;;
16682 "host-compiler-wrapper-support") CONFIG_COMMANDS
="$CONFIG_COMMANDS host-compiler-wrapper-support" ;;
16683 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
16684 "${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" ;;
16685 "${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" ;;
16686 "${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" ;;
16687 "${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" ;;
16688 "${aros_targetcfg_dir}/conf.cmake") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/conf.cmake:config/conf.cmake.in" ;;
16690 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16695 # If the user did not use the arguments to specify the items to instantiate,
16696 # then the envvar interface is used. Set only those that are not.
16697 # We use the long form for the default assignment because of an extremely
16698 # bizarre bug on SunOS 4.1.3.
16699 if $ac_need_defaults; then
16700 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16701 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16702 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16705 # Have a temporary directory for convenience. Make it in the build tree
16706 # simply because there is no reason against having it here, and in addition,
16707 # creating and moving files from /tmp can sometimes cause problems.
16708 # Hook for its removal unless debugging.
16709 # Note that there is a small window in which the directory will not be cleaned:
16710 # after its creation but before its name has been assigned to `$tmp'.
16714 trap 'exit_status=$?
16715 : "${ac_tmp:=$tmp}"
16716 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16718 trap 'as_fn_exit 1' 1 2 13 15
16720 # Create a (secure) tmp directory for tmp files.
16723 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16727 tmp
=.
/conf$$
-$RANDOM
16728 (umask 077 && mkdir
"$tmp")
16729 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16732 # Set up the scripts for CONFIG_FILES section.
16733 # No need to generate them if there are no CONFIG_FILES.
16734 # This happens for instance with `./config.status config.h'.
16735 if test -n "$CONFIG_FILES"; then
16738 ac_cr
=`echo X | tr X '\015'`
16739 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16740 # But we know of no other shell where ac_cr would be empty at this
16741 # point, so we can use a bashism as a fallback.
16742 if test "x$ac_cr" = x
; then
16743 eval ac_cr
=\$
\'\\r
\'
16745 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16746 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16749 ac_cs_awk_cr
=$ac_cr
16752 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16757 echo "cat >conf$$subs.awk <<_ACEOF" &&
16758 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16760 } >conf$$subs.sh ||
16761 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16762 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16764 for ac_last_try in false false false false false :; do
16765 . ./conf$$subs.sh ||
16766 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16768 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16769 if test $ac_delim_n = $ac_delim_num; then
16771 elif $ac_last_try; then
16772 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16774 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16777 rm -f conf$$subs.sh
16779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16780 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16784 s/^/S["/; s
/!.
*/"]=/
16794 s/\(.\{148\}\)..*/\1/
16796 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16801 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16808 s/\(.\{148\}\)..*/\1/
16810 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16814 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16819 ' <conf$$subs.awk | sed '
16824 ' >>$CONFIG_STATUS || ac_write_fail=1
16825 rm -f conf$$subs.awk
16826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16828 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16829 for (key in S) S_is_set[key] = 1
16835 nfields = split(line, field, "@
")
16837 len = length(field[1])
16838 for (i = 2; i < nfields; i++) {
16840 keylen = length(key)
16841 if (S_is_set[key]) {
16843 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16844 len += length(value) + length(field[++i])
16855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16856 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16857 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16860 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16861 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16864 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16865 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16866 # trailing colons and then remove the whole line if VPATH becomes empty
16867 # (actually we leave an empty line to preserve line numbers).
16868 if test "x
$srcdir" = x.; then
16869 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16888 fi # test -n "$CONFIG_FILES"
16890 # Set up the scripts for CONFIG_HEADERS section.
16891 # No need to generate them if there are no CONFIG_HEADERS.
16892 # This happens for instance with `./config.status Makefile'.
16893 if test -n "$CONFIG_HEADERS"; then
16894 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16898 # Transform confdefs.h into an awk script `defines.awk', embedded as
16899 # here-document in config.status, that substitutes the proper values into
16900 # config.h.in to produce config.h.
16902 # Create a delimiter string that does not exist in confdefs.h, to ease
16903 # handling of long lines.
16905 for ac_last_try in false false :; do
16906 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16907 if test -z "$ac_tt"; then
16909 elif $ac_last_try; then
16910 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16912 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16916 # For the awk script, D is an array of macro values keyed by name,
16917 # likewise P contains macro parameters if any. Preserve backslash
16918 # newline sequences.
16920 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16922 s/.\{148\}/&'"$ac_delim"'/g
16925 s/^[ ]*#[ ]*define[ ][ ]*/ /
16932 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16934 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16938 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16939 D["\
1"]=" \
3\\\\\\n
"\\/p
16941 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16946 s/.\{148\}/&'"$ac_delim"'/g
16951 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16954 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16956 ' <confdefs.h | sed '
16957 s/'"$ac_delim"'/"\\\
16958 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16961 for (key in D) D_is_set[key] = 1
16964 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16966 split(line, arg, " ")
16967 if (arg[1] == "#") {
16971 defundef
= substr
(arg
[1], 2)
16974 split(mac1
, mac2
, "(") #)
16976 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16977 if (D_is_set
[macro
]) {
16978 # Preserve the white space surrounding the "#".
16979 print prefix
"define", macro P
[macro
] D
[macro
]
16982 # Replace #undef with comments. This is necessary, for example,
16983 # in the case of _POSIX_SOURCE, which is predefined and required
16984 # on some systems where configure will not decide to define it.
16985 if (defundef
== "undef") {
16986 print
"/*", prefix defundef
, macro
, "*/"
16994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16995 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16996 fi # test -n "$CONFIG_HEADERS"
16999 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17004 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17006 case $ac_mode$ac_tag in
17008 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17009 :[FH
]-) ac_tag
=-:-;;
17010 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17027 -) ac_f
="$ac_tmp/stdin";;
17028 *) # Look for the file first in the build tree, then in the source tree
17029 # (if the path is not absolute). The absolute path cannot be DOS-style,
17030 # because $ac_f cannot contain `:'.
17034 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17036 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17038 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17039 as_fn_append ac_file_inputs
" '$ac_f'"
17042 # Let's still pretend it is `configure' which instantiates (i.e., don't
17043 # use $as_me), people would be surprised to read:
17044 # /* config.h. Generated by config.status. */
17045 configure_input
='Generated from '`
17046 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17048 if test x
"$ac_file" != x-
; then
17049 configure_input
="$ac_file. $configure_input"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17051 $as_echo "$as_me: creating $ac_file" >&6;}
17053 # Neutralize special characters interpreted by sed in replacement strings.
17054 case $configure_input in #(
17055 *\
&* |
*\|
* |
*\\* )
17056 ac_sed_conf_input
=`$as_echo "$configure_input" |
17057 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17058 *) ac_sed_conf_input
=$configure_input;;
17062 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17063 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17068 ac_dir
=`$as_dirname -- "$ac_file" ||
17069 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17070 X"$ac_file" : 'X\(//\)[^/]' \| \
17071 X"$ac_file" : 'X\(//\)$' \| \
17072 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17073 $as_echo X"$ac_file" |
17074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17078 /^X\(\/\/\)[^/].*/{
17091 as_dir
="$ac_dir"; as_fn_mkdir_p
17095 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17097 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17098 # A ".." for each directory in $ac_dir_suffix.
17099 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17100 case $ac_top_builddir_sub in
17101 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17102 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17105 ac_abs_top_builddir
=$ac_pwd
17106 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17107 # for backward compatibility:
17108 ac_top_builddir
=$ac_top_build_prefix
17111 .
) # We are building in place.
17113 ac_top_srcdir
=$ac_top_builddir_sub
17114 ac_abs_top_srcdir
=$ac_pwd ;;
17115 [\\/]* | ?
:[\\/]* ) # Absolute name.
17116 ac_srcdir
=$srcdir$ac_dir_suffix;
17117 ac_top_srcdir
=$srcdir
17118 ac_abs_top_srcdir
=$srcdir ;;
17119 *) # Relative name.
17120 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17121 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17122 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17124 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17136 # If the template does not know about datarootdir, expand it.
17137 # FIXME: This hack should be removed a few years after 2.60.
17138 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17149 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17150 *datarootdir
*) ac_datarootdir_seen
=yes;;
17151 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17153 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17156 ac_datarootdir_hack='
17157 s&@datadir@&$datadir&g
17158 s&@docdir@&$docdir&g
17159 s&@infodir@&$infodir&g
17160 s&@localedir@&$localedir&g
17161 s&@mandir@&$mandir&g
17162 s&\\\${datarootdir}&$datarootdir&g' ;;
17166 # Neutralize VPATH when `$srcdir' = `.'.
17167 # Shell code in configure.ac might set extrasub.
17168 # FIXME: do we really want to maintain this feature?
17169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17170 ac_sed_extra="$ac_vpsub
17173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17175 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17176 s|@configure_input@|
$ac_sed_conf_input|
;t t
17177 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17178 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17179 s
&@srcdir@
&$ac_srcdir&;t t
17180 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17181 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17182 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17183 s
&@builddir@
&$ac_builddir&;t t
17184 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17185 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17186 $ac_datarootdir_hack
17188 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17189 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17191 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17192 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17193 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17194 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17196 which seems to be undefined. Please make sure it is defined" >&5
17197 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17198 which seems to be undefined. Please make sure it is defined" >&2;}
17200 rm -f "$ac_tmp/stdin"
17202 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17203 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17211 if test x"$ac_file" != x-; then
17213 $as_echo "/* $configure_input */" \
17214 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17215 } >"$ac_tmp/config.h" \
17216 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17217 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17219 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17222 mv "$ac_tmp/config.h" "$ac_file" \
17223 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17226 $as_echo "/* $configure_input */" \
17227 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17228 || as_fn_error $? "could not create -" "$LINENO" 5
17232 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17233 $as_echo "$as_me: executing $ac_file commands" >&6;}
17238 case $ac_file$ac_mode in
17239 "genmf-executable-support":C)
17240 chmod a+x ${AROS_CROSSTOOLSDIR}/${aros_target_cpu}-aros-uname
17241 chmod a+x ${aros_tools_dir}/genmf.py
17243 "binutils-support":C)
17244 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17246 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17248 chmod a+x ${prefix2}-ld
17250 ln -sf $orig_target_as$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
17251 ln -sf $orig_target_nm$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
17252 ln -sf $orig_target_ar$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
17253 ln -sf $orig_target_ranlib$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
17254 ln -sf $orig_target_objcopy$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
17255 ln -sf $orig_target_objdump$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
17256 ln -sf $orig_target_strip$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
17258 "elf-compiler-support":C)
17259 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17261 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
17263 chmod a+x ${prefix2}-gcc
17265 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix2}-ld$aros_host_exe_suffix
17267 "host-compiler-wrapper-support":C)
17268 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
17270 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
17272 chmod a+x ${prefix2}-${toolchain_c_compiler} ${prefix2}-${toolchain_cxx_compiler} ${prefix2}-${toolchain_cpp_preprocessor}
17281 ac_clean_files=$ac_clean_files_save
17283 test $ac_write_fail = 0 ||
17284 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17287 # configure is writing to config.log, and then calls config.status.
17288 # config.status does its own redirection, appending to config.log.
17289 # Unfortunately, on DOS this fails, as config.log is still kept open
17290 # by configure, so config.status won't be able to
write to it
; its
17291 # output is simply discarded. So we exec the FD to /dev/null,
17292 # effectively closing config.log, so it can be properly (re)opened and
17293 # appended to by config.status. When coming back to configure, we
17294 # need to make the FD available again.
17295 if test "$no_create" != yes; then
17297 ac_config_status_args
=
17298 test "$silent" = yes &&
17299 ac_config_status_args
="$ac_config_status_args --quiet"
17301 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17303 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17304 # would make configure fail if this is the last instruction.
17305 $ac_cs_success || as_fn_exit
1
17307 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17309 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17314 #XXX compatability...
17315 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
17317 if test -n "$aros_shared_cflags" ; then
17318 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
17319 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg